Added mailfetch error handling for config errors