Edited mailer model and views

*Added html and plain text email templates
*Created a email method to send these emails