Use parser to generate the plain text template in send_mail function