getting mailer to work