added support for saving .eml files