Translate the payload of the request to send an emal, into an EmailInfo record.