wait for server to receive emails in all tests