Add acceptance tests for email