On Enterprise Edition: I have a custom link on the contact page layout that when clicked throws open a "Send an Email" edit page with several fields auto populated such as To, Subject, Email body, and even several attachments, for convenience.
Here's the URL coding for the button link:
/_ui/core/email/author/EmailAuthor? email_type=custom&template_id=00X50000001XtXB&**id=00Y5000000Ir7Kg**&p2_lkid={!Contact.Id}&rtype=003&retURL=%2F{!Contact.Id}
I believe the highlighted id above represents the email attachment(s) because the moment it is removed, the attachments don't appear. I got that id (among others) from Inspect Element on the email body when the email template is pulled from Send an Email -> Select Template.
Now, for some reason, this id=00Y5000000Ir7Kg does not permanently represent the attachments. It changes regularly in the last 5 characters. I later noticed this when all content but the attachments were pre-populated. At this point when I check the id, it is something like 00Y5000000 XyZAb.
This is the issue I'm facing. How do I pre-populate with URL coding, the attachment(s) effectively just like other fields are with no potential trouble?
Clarification: This id works for sometime in pre-populating the attachments; works for a day, two days, maybe even a week, but when this id changes thru some unknown action or for some reason, I have to manually update the URL code with this new id in order to continue pre-populating the attachments.