fix email sending (hotfix)