Create mailer base. Try to write some tests.