updated mailer logic to not send emails if compliance form is created