Mail Drop to a Project instead of Inbox?

Is there any way to have Mail Drop actions sent directly to a Project instead of the Inbox?

I know this was discussed many years back, with no simple solutions. Wondering if anything has changed with Automations, etc.

Every emailed action in the Inbox has a note starting with “Referenced message:”
Is there a way to parse the Inbox to automatically move any action with this string in a note to a specified Project?

(And wondering why OF still doesnt have this built in after all these years…)

Thank you…

1 Like

I think (100% sure) that‘s possible. Please explain exactly your requirement. Is it always the same project? Would you like to trigger/process these inbox items using a plugin or an Apple Shortcut? Does the project have a unique name? Any tags, duration or other topics relevant when these items get moved to a project? Does the note always start with this string? How often would you use this? Questions over questions…

  • I’d be happy with one project
  • Plugin or Shortcut, whichever solution is most automatic. If it can run on iOS as well, that is a bonus.
  • Project name: “Process Email”
  • Tag; Admin
  • Flag: True
  • As far as I can tell all MailDrop notes start with this string
  • Use daily (2x daily is better)

Thank you

It should do what you asked for. Tested it with only 1 item in the inbox, an existing project with the name you use and an existing Admin tag.
MoveReferencedMessages.omnifocusjs (1.3 KB)

I‘ll go to sleep now. Write me if there should be any issue. I‘d get back to you, tomorrow.

Started working on it right after my post, then saw your specifics and added the enhancements. Else I would not have been this quick.

Hi Logan,
Sorry for the delay in replying. Thank you VERY much for this!!!
I was able to open the script and fine-tune for my needs.

Curious if you are a coder, or are there any AI tools that can help mortals like me create my own automations?

Thanks again,
Matthew

I don‘t consider myself a „coder“, but studied information science. I learnt some programming languages and understand (most of?) the concepts. Javascript is quite similar to some other languages.

AI generates code that looks like code, but doesn‘t always work, invents non-existing APIs/functions and does not always understand the problem. You should be able to understand what the code does and how it behaves and you always have to test it. Even with AI there are quite some sections which have to be written manually. But it‘s improving with time. Still, without coding experience you‘ll most likely fail.