imapfilter
piccolo
imapfilter | piccolo | |
---|---|---|
15 | 6 | |
830 | 1,419 | |
- | 12.8% | |
4.8 | 8.9 | |
10 days ago | 2 days ago | |
C | Rust | |
MIT License | Creative Commons Zero v1.0 Universal |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
imapfilter
-
Google will disable all but OAuth for IMAP, SMTP and POP starting Sept. 30
Shouldn't be _too_ hard to convert your scripts.
I ran into the same problem and one workspace disallows App passwords. You can simply get the OAuth token with a little python script and then use it as the password: https://github.com/google/gmail-oauth2-tools/blob/master/pyt...
(see for example https://github.com/lefcha/imapfilter/issues/186)
-
Lua: The Little Language That Could
My first real exposure to Lua was as the configuration language of imapfilter. Absolutely loved both.
https://github.com/lefcha/imapfilter
-
Automaticallly Printing (from email?)
Use [imapfilter](https://github.com/lefcha/imapfilter) to store the attachment in a local folder and delete/archive the mail. Then use something like [inotify](https://en.wikipedia.org/wiki/Inotify#:~:text=inotify%20(inode%20notify)%20is%20a,reports%20those%20changes%20to%20applications.)%20is%20a,reports%20those%20changes%20to%20applications.)) to run a script that sends the new pdf to the printer
-
Scriptable headless IMAP client?
Imapfilter runs lua scripts. Since it's basically just a lua interpreter with a pre-imported library, you can pretty much do any processing you might like, but... IMHO it doesn't seem great: the documentation is so-so, the API is a bit clunky and lacks basic functionality (eg. you have to decode utf8 mime headers yourself) and (personal opinion) writing an imapfilter script is not easier than using an IMAP library in whatever your favorite programming/scripting language might be.
-
How to run a script to cleanup emails ?
You could look at something like imapfilter. It's designed to do what you want, I think, though I've never used it.
-
Looking for help or alternative solutions to my current email workflow with ProtonMail
I know this one is an issue, and for that you will want to use an email client with the bridge. I have used a protonmail docker container shenxn/protonmail-bridge-docker with imapfilter to provide client side filtering.
-
I have too much email - over 50 GB on Outlook and Gmail
If you can see yourself writing some scripts to clean it up, I can recommend imapfilter as a starting point. I learned enough Lua to be able to use this effectively. The "config" file is actually just a Lua script.
-
Command line email filters
I believe that Google still offers IMAP access (I think you need to set up app passwords, or possibly jump through some OAUTH hoops), letting you use something like imapfilter to set up rules, connecting to Gmail, then doing the filtering.
-
Spam filter that connects to mail server
imapfilter with a Lua script to send messages to Spamassassin.
-
Syncing E-Mail filters
Another tool actually meant for this is imapfilter: https://github.com/lefcha/imapfilter
piccolo
- Piccolo – experimental Lua VM implemented in pure Rust
-
Lua: The Little Language That Could
There's Lua implementation [1] in pure Rust, by the way.
[1] https://github.com/triplehex/piccolo
-
Do Rust and Lua work well together?
The rust ecosystem is doubling down on wasm with little to no focus on lua (some would even prefer to build their own programming language) that doesn’t mean lua is pretty bad for the rust ecosystem it’s just that there’s no much focus as to compared to wasm Example I noticed is https://github.com/kyren/luster
- Writing a minimal Lua implementation with a virtual machine from scratch in Rust
- Lua: Good, Bad, and Ugly Parts
-
Scripting Languages of the Future
Tossing my hat in for Passerine [1]. Gorgeous ML inspired syntax. Built for scripting Rust applications.
Dreaming here: Lua is a fantastic scripting language, but the Rust FFI isn’t as ergonomic as it could be. Enter Luster [2], which is basically LuaJIT rewritten in Rust.
Embedding a scripting language in a Rust application gives you tons of power (e.g. scripting Rust structs from Lua [3]), and setting this up isn’t terribly difficult.
[1] https://github.com/vrtbl/passerine
[2]: https://github.com/kyren/luster
[3]: https://git.sr.ht/~ioiojo/kiwi
What are some alternatives?
imapfilter-tools - Tools to improve imapfilter for use as a reliable SPAM filtering service.
lua-cmake - Embed lua with CMake
pyle-of-mail - A Python script that sorts all read emails from your mailbox.
passerine - A small extensible programming language designed for concise expression with little code.
protonmail-bridge-docker - ProtonMail IMAP/SMTP Bridge Docker container
lua-lockbox - A collection of cryptographic primitives written in pure Lua
guix - Read-only mirror of GNU Guix — pull requests are ignored, see https://guix.gnu.org/en/manual/en/guix.html#Submitting-Patches instead
moonsharp - An interpreter for the Lua language, written entirely in C# for the .NET, Mono, Xamarin and Unity3D platforms, including handy remote debugger facilities.
himalaya - CLI to manage emails
luau - A fast, small, safe, gradually typed embeddable scripting language derived from Lua
flirt - Automatic version selector for LÖVE
empirical-lang - A language for time-series analysis