Adding mailer and integration test