Made email_tasks check validation