Sometimes http_accept doesn't exist, so check for it now
added email_queue
oops, was doing this in the wrong branch and broke the site