Trying to create a contact form

You can set up instance variables in your mailer model accessible
inside the view like this:

# allows access to @message and @sender_name :message => email_params[:body], :sender_name => email_params[:name]