@stefan - You first need to go to backend -> settings -> campaigns -> attachments and decide which files are allowed and moreover, the allowed size of the files. You also need to make sure your server allows files with a size greater than 2MB(see php.ini)
They work just fine when the email is sent to a customer. When you view it in your browser as default web version(not in behalf of a subscriber) the custom tags are not parsed.