Include metadata in template mailer