Tests for emails on the middleman platform