Hey there,

I'm looking for a script that checks incoming mails in a shared inbox for words and does a bunch of stuff to them, that I haven't been able to completely do with general Outlook rules.
These incoming mails contain embedded images that need to be forwarded intact as well. If I make a basic rule out of this the embedded images are deleted, would having VBA handle the rules help in this regard?

Here's what I'm trying to get to work:
- From sender: placeholderemailaddress
- Contains words in subject: Placeholder subject text
- Contains words in body: Placeholder body words
- Moves email to folder: Placeholder folder
- Marks email as read
- Forwards email to placeholder2emailaddress

Exceptions:
- Except if the body -also- contains words: Placeholder exception words

Behavior with exceptions:
- From sender: placeholderemailaddress
- Contains words in subject: Placeholder subject text
- Contains words in body: Placeholder body words -and- Placeholder exeption words
- Don't move mail to any folder: keep in inbox
- Mark email as read
- Forward email to placeholder2emailaddress

And as a note:
- There will be mails that only have Placeholder expection words, these mails need to be left alone.

My VBA skills are a bit rusty so I haven't attempted to start anything yet. If anyone can help me start this up I'd be very grateful.

Cheers!