Ruby script for sending mail