configured a basic mailer to send an email.