The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus 1 for Mac
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Email Rules Work, but are not automatically triggered Thread Tools Search this Thread Display Modes
I have two mail rules built around the MailAction.applescript. The first is generated by OmniFocus itself in preferences, the second I created based on that one.

They are both placed at the very top of my rules list and should be run first on every incoming email.

However, they are _never_ triggered automatically. No matter what, the emails are not added to omnifocus.

I can select the emails, right click, and choose "Apply Rules" and everything works as expected.
How do you know the rules are being run at all? What you describe is consistent with them not being run, and it is difficult to imagine a scenario where OmniFocus would act differently upon the emails depending on whether the rule was invoked automatically or manually.

First step is to establish that the rule is being run. Insert an action at the top of the rule to play a sound or bounce the icon in the dock. Send an email. If the email shows up in your mailbox, but you don't get your sound or bouncing icon, make sure that nothing is marking that email as read before Mail gets it. Mail only runs the rules against what it thinks are new, unread messages.
Well, the issue was I knew they were _not_ being triggered at all. Not that I thought the rules were not working _when_ they were triggered.

I found the problem, I do filtering in gmail and mails are sorted into subfolders server side.

I found out does not run rules on anything but mail in the Inbox. Haven't found a solution to that yet.
How about filtering messages destined for OmniFocus into a separate folder, then having an Applescript run from iCal every (insert your desired interval) that takes the contents of that folder and does perform mail action with messages with the rule to process them? Or can you simply not filter the OmniFocus messages?
Those are some good ideas, didn't think of the ical option at all. I was going to write a launchd.plist that ran periodically, but ical seems easier.

One of the issues is I was going to monitor emails from some of the regular stores I buy from online such as amazon and bill notifications. So, not sorting isn't really an option but an ical event that ran a script would work super!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically send all email messages to Omnifocus inbox mojaverat OmniFocus 1 for Mac 6 2010-04-23 09:10 PM
+omnifocus@ (email rules) jka33331 OmniFocus 1 for Mac 20 2009-09-01 06:11 PM
Some links to email messages in doesn't work Tibor OmniFocus 1 for Mac 9 2009-01-22 02:31 PM
Alter email parsing rules? slane00 OmniFocus 1 for Mac 1 2008-12-23 11:46 AM
Creating Rules in OF by Email (different problem) Nyte OmniFocus 1 for Mac 6 2008-08-29 06:50 AM

All times are GMT -8. The time now is 06:34 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.