add CodeMailer for send code of reg_project to user email