mail bugfixes

- fix wrapper scripts
- save sent to mail folder
- save draft to mail folder