added default mail config to application.
Fixes #1701.