cron module and email template example