Unsetting mail

allow core/mail to be imported from external libraries without settings.py being used.