Is there a smart rule that will capture positional text in an email and change the documents name to reflect the text. In the photo below of a devotional email, the word Formed (below the date) changes each day into a single or multiple words. It always is in this position on the email. Rather than have the name Turning Point with David Jeremiah, i want to apply that positional name as the doc name. If this can’t be done, can it be done if i convert the email to pdf+text.
Thanks Chrillek… i have tried a few without success and so too my local ai helper but nothing works yet… i appreciate the reply. Maybe someone has found a way. I had the same problems in pdf+text. Cheers!
- Drag that email to your desktop.
- Control-click > Compress it.
- Post the ZIP here.
Today’s Turning Point with David Jeremiah.zip (15.7 KB) - thanks BlueFrog - appreciate you looking at it. Cheers, Leigh
This regular expression
^(?:Mon|Tues|Wednes|Thurs|Fri|Satur|Sun)day,\s+\w+\s+\d+\s+(.*)
seems to work. It could be improved by replacing \w+ with a list of months like
(?:January|February|March|April|May|June|July|August|September|October|November|December)
where “improved” means “made more specific”.
The smart rule might look like this:
I’d change “Kind” in the conditions to “E-Mail”.
I would add a \n before the capturing group.
The \s+ captures that. And it also captures possible white space before and after the \n.
Fantastic! That did the trick!. I stuck a bunch of emails in the inbox and applied the rule and bingo - all were renamed to the correct name - that is except for two for some reason. Nothing else in the test database, no duplication etc - nothing in the global inbox - they were titled Tuesday, August 4 The Beginning of Wisdom and Tuesday, July 28 Friendly Places. Thank you for coming up with this solution. It obviously works well 10 out of 12 perfect. If you can think of a reason why the two didn’t and Remained as Today’s Turning Point with David Jeremiah - it would be icing on a grand cake. So much appreciated. Thanks Chrillek and BlueFrog!
Thanks again for this - I found the reason - the day Tue is missing an ‘s’ - when added, it all works fine. All the best!
In the regular expression, yes. A bit more context goes a long way, sometimes. I fixed the RE in my previous post.

