Quick hack to get logging working
Dont do tasks that arent needed
Use SQLite for email queue