Prepeare tests for emails endpoint