function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Patrick LawPatrick Law 

How can I modify the send email layout ?

Hello,
I would like to add a button to the send email layout.The button will calll some code to call a web service.
How can I modify the form? I don't see any record types called "Email" and I looked under activities, events, etc.. 
User-added image
Rupali PophaliyaRupali Pophaliya
You can't modify Send an Email page layout. It is curremtly on Idea Exchange:

https://success.salesforce.com/ideaview?id=08730000000BrdrAAC

You will have to create custom button and a visual force page to achieve your requirement.
Patrick LawPatrick Law
Thanks. If I were to create a Visual page to send an email similar to the out of box page. Would the email shows up in the activity history just as if were send using the out of box page?
Rupali PophaliyaRupali Pophaliya
You can write a code to insert a task and mark as completed, sothat it will come up in Activity history.