Why are the email notifications showing up as Undefined when they arrive?