log 'checking email queue' as debug