add cron mail and send mail when register