> This solution worked well for the handful of emails I tried it on. I’m planning to run this on a cron to save myself some time and automatically maintain recruiter relationships.
Maintain recruiter relationships?! You're sending a glorified autoreply that plugs in a couple values. That is not maintaining a relationship. Luckily, there's no relationship to maintain, because the recruiter probably just blasted out an automatically-generated message to a list of contacts in the first place.
This sort of thing makes me sick. It's an abominable distortion of human interaction, and it makes our society worse.