Allow filtering to be whitelisted
Remove obsolete attachment handling

Now solved via mime parts, commit dbd1891