Update mailer.rb

Fix issue with check status appearing as "Unknown" in email subject line and body.

This was broken in 18b55f9