add mail configuration documentation
Merge remote-tracking branch 'origin/bug-4725'