Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/morgant/claws-mail-find_all_copies
A Claws Mail 'Action' script to find all copies of a selected message within a locally synchronized IMAP account
https://github.com/morgant/claws-mail-find_all_copies
action claws-mail duplicate-detection imap imap-client script
Last synced: 28 days ago
JSON representation
A Claws Mail 'Action' script to find all copies of a selected message within a locally synchronized IMAP account
- Host: GitHub
- URL: https://github.com/morgant/claws-mail-find_all_copies
- Owner: morgant
- License: mit
- Created: 2024-10-04T03:39:40.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-08T00:06:17.000Z (3 months ago)
- Last Synced: 2024-12-07T05:07:17.432Z (29 days ago)
- Topics: action, claws-mail, duplicate-detection, imap, imap-client, script
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# claws-mail-find_all_copies
by Morgan Aldridge## OVERVIEW
The "Find All Copies" script is an 'Action' script for [Claws Mail](https://claws-mail.org/) which, when run on a specific message, will find all messages in the same IMAP account with the same `Message-ID` header. This can be helpful if using a Gmail account via IMAP, as Gmail implements 'Labels' (i.e. tags) as standard IMAP folders with copies of an individual message in each. It can also help if you've migrated a Gmail account to another IMAP account and want to use IMAP folders in a similar manner. It's also useful in helping you identify where you might have copied a particular message within your IMAP account.
**IMPORTANT:** _This project is very much a work-in-progress and developed specifically for my needs. Use at your own risk!_
### Prerequisites
* An IMAP account synchronized for offline use
* An 'Action' configured to execute the `find_all_copies` script
* Preferably fast storage to improve search time### Limitations
* It can only search for copies of a single message
* It only supports IMAP accounts (though could be modified to support POP & local MH accounts)
* It cannot find messages that have not yet been downloaded from the IMAP server and stored locally
* It cannot search across multiple accounts
* It's slow as it has to process _all_ messages in the IMAP account (this is despite optimizations to ensure that only the message headers are parsed)## USAGE
_TBD_
## REFERENCE
* [Claws Mail FAQ: Actions](https://claws-mail.org/faq/index.php/Actions)
* [Claws Mail FAQ: Using Claws Mail with other programs](https://claws-mail.org/faq/index.php/Using_Claws_Mail_with_other_programs)
* [Wikipedia: MH Message Handling System](https://en.wikipedia.org/wiki/MH_Message_Handling_System)## LICENSE
Released under the [MIT License](LICENSE).