added method to log mailer request to console/server output