Basic rails structure and beginnings of mailer implementation.