Added bitbucket docks and fixed attachments
Improved Email handling