How can I make an Applescript that Mail.app on my Mac can run? When it encounters a message that is being sent to firstname.lastname@example.org, I'd like it to redirect it to email@example.com, where the "From" field is NOT firstname.lastname@example.org, but rather is the "From" field on the original email that was sent to email@example.com.
E.g., I'm Joe Schmo and I send an email from firstname.lastname@example.org to email@example.com. Then the Apple Script runs and redirects that email to send it to firstname.lastname@example.org with the From tag as email@example.com
I am planning on setting up a rule in my Mail app that runs this apple script when it encounters a message that is being sent to firstname.lastname@example.org.
Note: the emails in this example are fake.