Bug fix: set e-mail options in the body before stringify call

Else e-mail options are not sent in the mailgun payload.