Added a way to pass required and none required fields to the email.