Add email integration test
Integration test stuff