Separated test of email method.