fix send mail func
fix to config
Merge pull request #9 from e-jigsaw/hotfix-sending

Hotfix sending