BugFix: JSON object that sends email message was undefined