Fix inviation mailer issue