getting mail to work