Separate imported e-mail attachments for better search

Since this post is very long, and I had overlooked it at first, there’s an updated version (that apparently also works with DT4, I have yet to test ist) here:

Thank you very much @mdbraber !