Converted custom clearsync to SMTP Event