get mail to work, eliminate debug code - CRM-12101