Removing unused files.
Fixing code that blocks sending emails with attachment.
Updating plugin see BT#7848