How to read two different subjects in IMAP?

I’m trying to read emails with two different subjects, one with the subject “Reprocess” and the other with the subject “Check Status”. How can I read these two types in custom email rules?

Hey @Gabriel_Takahashi,

Looking at the node-imap link the node provides it looks like you might be able to do something like:

["UNSEEN", [ "OR", ["SUBJECT", "Reprocess"], ["SUBJECT", "Check Status"]]]

I have not tested it but hopefully it points you in the right direction, The other option would be to just fetch everything and use an If node to check the subject.

It worked, thank you very much!

1 Like

That is good to hear, the documentation wasn’t that clear but I am glad it is working. Happy Automating :tada: