Fix bug not sending email body because template was not found.