Added log to the mail config
Merge pull request #2806 from GrahamCampbell/mail

Added log to the mail config