send mail only if not sent before