r/automate_things • u/BV_Brandon • Nov 10 '17
Shortcut for sending repetitive emails
I have to send the same email to different people throughout the day. I'm looking for a 1 or 2 click solution to automate this task.
Ideally it would be a browser extension for Chrome or Safari, or a custom job with Applescript.
Steps I currently take to do the task:
copy email address
switch to Mail app
click to compose a new message
paste recipient email
change reply-to address
fill in subject line (same one every time)
open previously sent message
copy email body
switch back to new message
paste email body
hit send
I'd love to condense that down to two steps since everything is the same each time except for the recipient address.
copy email address
clicky the awesome button (either in browser bar or custom applescript app in my dock)
I have been able to create a little app to do most of the work but the reply-to field isn't directly scriptable. So right now i've got it worked down to opening a new message window and doing everything EXCEPT changing the reply-to field, pasting the email and sending.
tell application "Mail"
activate
set theSubject to "(subject)"
set theContent to "(Body)"
set msg to make new outgoing message with properties {subject:theSubject, content:theContent, visible:true}
end tell
Any thoughts? I think the reply-to has to be UI scripted but I have no idea how to do that.