Update mailer.rb

Fix issue with check status appearing as "Unknown" in email subject line and body.
Merge pull request #696 from lesaux/patch-1

Update mailer.rb