Search Read Messages #389
-
I'm getting started with I'm trying to do a simple search for read messages with an attachment between specific dates. I then want to label these processed messages, with
After running the script, the process does find the email I'm looking for but outputs the following
Meaning the subsequent actions are not performed. I've tested the above, without the What am I missing? Is this possible? P.S. For further context I want to run this script every quarter, only, for accounting purposes, meaning I'll be reading the message when I receive it (mainly to check if Its an invoice I need to pay or has been paid). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@timothymamo the reason is that the config uses You may overcome this limitation if you use See here for the documentation of the available options: |
Beta Was this translation helpful? Give feedback.
@timothymamo the reason is that the config uses
mark-read
as themarkProcessedMethod
which implies that certain matches are automatically added to the configuration, since this is normally what a typical user might expect.You may overcome this limitation if you use
custom
instead, but then you have to add the action to mark processed messages yourself.See here for the documentation of the available options:
https://ahochsteger.github.io/gmail-processor/docs/reference/enum-types#markprocessedmethod