Implemented email queue command (cron job)