Removed extra copy of javax.mail dependency in cleaning
Added ability to specify url of context in offline mode