fix to html invite mailer