Added action mailer to send confirmation emails.