Added mailing code after enroll