Add tests for the email utility module