The content of the submission email just displays "undefined" message.