this post was submitted on 17 Nov 2023
1 points (100.0% liked)

Emacs

310 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

I'd love to just be able to forward a message to a specific email address or apply a tag to have a todo item automatically added to my org agenda. Does anyone have a workflow or toolkit set up that does this?

top 5 comments
sorted by: hot top controversial new old
[–] adx@alien.top 1 points 11 months ago

I can easily grab an email and link an email to an org-capture template from within Mail.app using org-protocol on macos. You can do something similar from mutt and a script. You may able to do something with some Javascript or a browser plugin with a webmail app.

[–] sierrawhiskeyfoxtrot@alien.top 1 points 11 months ago (1 children)

If you want "email to address and gets put on agenda/somewhere in org", yes. I used to use this method, and I keep the post up just in case someone else needs it for reference.

I don't know how easy it would be to get fetchmail working with Gmail these days, but hopefully this is helpful.

[–] bradmont@alien.top 1 points 11 months ago

Thank you! I'm sure I can set up a fetchmail-able email address without too much trouble; I'll give this a look. :)

[–] AkiNoHotoke@alien.top 1 points 11 months ago

Org-protocol covers well my needs. I can add any URL, including part of the content from the URL by clicking on the bookmark button that has a small javascript line in it.

Here is all you need to know about it: https://orgmode.org/worg/org-contrib/org-protocol.html

[–] kowalj@alien.top 1 points 11 months ago

I run a local bot that periodically checks GMail and files things appropriately. I can, for instance add a label like "@home" to a message, and it will be filed into my org todo list with the "@home" tag.

As well, it filters for several common messages I might get from vendors that warrant my further attention.

In each of these cases, it places the email in my default "todo.org", and archives it automatically in GMail. As a result, my Inbox is clear, and my org-agenda todo list is properly populated.

For more, see here: https://github.com/jeffkowalski/gmailtender

(Please pardon the poor rendering of the README file on github.)