Add email integration test