KMail Power Tools is a software suite designed to improve the functionalities of KMail and other mail user agents with various enhancements.
The suite offers several operations to enhance the user's overall experience, including removing all attachments from an email or selectively removing them after asking the user to detach and save them to a directory chosen by the user. This, in turn, helps reduce the size of the mailbox, while allowing users to back up important attachments.
KMail has a filter definition feature that makes it work like most email programs. This filter definition feature allows defining filters that can be launched manually or read emails on STDIN and output the results through STDOUT (i.e., "pipe through").
The Perl script in KMail Power Tools enhances KMail's capabilities by leveraging the filter definition feature to ensure the removal of attachments that allows detaching attachments, and also prompting users for a directory to save the attachments. kmailpt will read and interpret the email (using Perl MIME::Parser) and will either detach/save attachments to a directory listed by the user or remove attachments, adding the appropriate sentence to the mail body.
The attached files sentence is displayed even when a KMail text/plain and text/html file is attached. For HTML files, one can click on the link to view the detached files, making it a versatile and user-friendly tool.
To access the available command line switches or options, one can get in the command line "kmailpt [options]". The available command line switches include "detach the attachments (save and remove)" (-d), "ask which attachment to remove" (-q), and "prints help" (-h).
KMail Power Tools requires only KMail application to work with the new features, including new icons and feature updates. Handle encrypted emails, adding command line options, such as "leave the resulting email decrypted" (-g) and "use gpg-agent instead of asking the passphrase" (-p). For the "-d" command line option, when an argument is present, every file is detached and saved in the given destination.
The update corrects several bugs, including the fix of the disclaimer's inclusion in text/plain and text/html files. Overall, KMail Power Tools is a reliable and comprehensive suite of enhancements that anyone using KMail would find invaluable.
Version 0.3: N/A