background worker working, and emails working