emails
created email message.
took email code out of email controller.