Email attachments: Adding a possibility for setting all the parameters.