contact.rb refined for mail delivery error