Merge pull request #299 from hluu/master

update to 2.6.2
Removed unusued imports
Merge pull request #300 from erwa/remove-unused-imports

Removed unused imports
Email should retry on SocketTimeoutException  - issue #322