I was wondering if it is at all possible to create a new Send button (in this case Send Secure Email button) on the Send an Email page itself. This button would utilize our REST APIs in order to send the message securely after the user writes their message. I know that you can add buttons to the Activity Screens like the ones below: enter image description here

However this was not the desirable approach as these are not attached to the Send an Email "Task" page itself, but rather the activity screens before it. For visual clarification I am basically looking to do the following: enter image description here

Any advice/help would be greatly appreciated as I am stumped on how to do this.

  • So do you want to add a button on the Task page layout to send an email? Is the what you are trying to do? Jun 1, 2016 at 20:12
  • That is basically what the intention is, I have seen some mixed comments on this though, the question at this link: developer.salesforce.com/forums/?id=906F0000000DAAaIAO seems to state it is not possible, however some people are not so sure.
    – John
    Jun 2, 2016 at 16:00

1 Answer 1


There is a way to send emails from a button. I don't know if this is the best option or exactly what you need but I can send emails by adding a button in the object I need to send the email from just by using this url:


This is for the Case object but you can use it for the Task as well.

  1. Got to Set up
  2. Build
  3. Activities -> Task Buttons, Links and Actions
  4. Click in New Button or Link
  5. Insert label name, select Detail Page Button
  6. Behavior = Display in a new window
  7. Content Source = URL
  8. Insert this:


The last part of this link needs to point out to the email template you want to use for your email, so change the "template_id=00X58000000sJE3" to your template id. If you want to use this link in another button for another object you can do that by changing the parts in which you see "Task" for the object you want to use. I have tested this on the case and opportunity objects and works fine.

Let me know if it is also working for you.

Don't forget to add you new button to your custom button section in the pages you need to.

Good luck and let us know the outcome.

  • thank you for the response, and yes your idea does indeed work for adding buttons to the various activity objects. However for what I want to do I need to add a custom button to the actual Send an Email page itself which will basically be a recreation of the existing Send button, but this custom Send button will integrate a third party messaging API for secure email. The API integration is a separate question in itself though.
    – John
    Jun 2, 2016 at 20:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .