Fixing disposition type for attachment
It seems like email parser is working quite ok.
Adding function for deleting message from imap folder