Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to access the outbound emails sent from salesforce to the users(for eg. notification mail, scheduled reports mails etc). Could anyone tell me where those mails will be stored in the salesforce and how to access those mails using apex?

Thanks Raghu

share|improve this question

You can access details about email logs from within the administration interface from Admin > Monitoring > Email Logs.

This will not show you the email body however, just the recipient and delivery status.

The Compliance BCC email mentioned by Barney Rubble is the other option to be cc'd on future emails.

You may also find the messages you want in the 'EmailMessage' object which will contain the emails sent from within the UI (Case responses). I'm not sure if other emails sent from the UI will appear there. Emails sent from Workflow etc shouldn't appear in this object.

Other than that I am not aware of there being any other way to retrieve email content of emails sent by the system.

share|improve this answer

You can BCC all Salesforce outbound emails to any email address. The feature is called Compliance BCC Emails.

Setup => Email Administration => Compliance BCC Email

New user notification emails, password resets emails, etc., are not BCC-ed using this feature.

share|improve this answer
hi, i want to access the emails that are already sent. could you please let me know if there is any such way – Raghu Feb 8 '13 at 8:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.