Basically each morning I want to iterate through the first 10 emails in my inbox. If the body of any of the emails contains:
Project ‘20201234_5678’ deployment to Production done successfully. (the numbers will all be different each morning aside from ‘2020’, so I know I need to use RegEx to find that pattern.)
Then I want to send a message saying "this was successful, at [timestamp of when that email was sent]. Else - I want to send a different message.
How would I go about this? I’ve been trying all day but have been unsuccessful.