Fixing bug where content is not sent in the email.