adapt to changes in mimeparser v0.2.0
changed attachment handling and activated multithreading