How to Send Mass Emails in Salesforce Using Apex
25 Mar 2026
Table of Contents
Using email to send messages to a wide group of people is still a powerful and easy way to interact with leads, contacts, and clients. If you use Salesforce, making your email campaigns automated helps improve customer engagement and conversions. That’s where sending mass emails through Salesforce using Apex and declarative tools can unlock tremendous value.
Some think using mass emails requires special tools or Marketing Cloud, when in fact Salesforce Apex provides ample solutions, especially with custom tools or apps like Mass 360 Mailer on AppExchange. This guide walks you through the complete process to send mass emails using Salesforce Apex, step by step, using real-world use cases.
Send Mass Emails in Salesforce Using Apex

What is Mass Email in Salesforce Apex?
In Salesforce Apex, mass email involves sending messages to several records, including Leads, Contacts, or your own custom objects, with Apex or tools. Though Apex is bound by email limits, we can use solutions like 360 Mass Mailer that scale well to help users get around those limits.
Let’s now explore various ways to send mass emails from Salesforce Lightning in different use cases. Every section here includes tips to successfully complete bulk sends using the platform.
Steps to Send Mass Emails Using Salesforce Apex
1. Sending Emails to Standard and Custom Object Records Using List Views, Campaigns, and Salesforce Reports
If you need to engage contacts, leads, or custom objects, list views and reports make an excellent starting point.
Via List Views
- Navigate to either the Contact or Lead tab.
- From the list view, select any record(s), then click on the “Send Bulk Email” button.
- You’ll be taken to a custom email composer where you can fill in the email details.
- To email all records in the list view (not just selected ones), check the top-right radio button labeled ‘Send Email to all Contacts.’ (Note: This must be enabled by your admin or 360 Support team.)
Customize Sender and Recipient Info
- From Email Type options:
- Current User Email
- Record Owner Email
- Custom Verified Email (Note: Must be domain-verified via SendGrid.)
- To Email dropdown pulls values from email fields on the object. Multiple fields can be selected.
- Optional: Add up to 5 CCs, 5 BCCs, and 1 Reply-To email
Use Templates and Attachments
- Choose from Salesforce or SendGrid templates or write a new message.
- Drag and drop file attachments (1 file per email, max 5MB).
Once ready, click Send and a success screen confirms delivery.
Via Campaigns
- Go to the Campaigns tab and open the relevant Campaign record.
- Click the Send Email button on the detail page.
- This redirects to the same Compose Email component as used above.
Via Salesforce Reports
Want to send emails based on dynamic criteria? Use the “Email From Reports” feature.
- Navigate to the Email From Reports tab.
- Select a report that includes a Record ID column.
- Pick the ID column, click Send, and proceed with your bulk email.
Note: Without a Record ID column, this feature is disabled.
2. Sending Scheduled Emails
Need to send messages later rather than now? Salesforce lets you schedule emails directly from the same Compose Email interface.
- Set your email to send daily, weekly, or monthly.
- Choose a custom time that suits your audience’s time zone or behavior.
Review Scheduled Email Records
- Go to the Email Schedules tab.
- Click on a record to view:
- Email Source (List View, Record Page, etc.)
- Sender & Receiver details
- Message content and subject
- Associated object name
A checkbox, ‘Run report at scheduled time to fetch new records,’ ensures new data is included in each scheduled send. This is enabled by default, but can be turned off.
This feature is ideal when sending mass emails through Salesforce to prospects who meet new criteria over time, like leads added daily via form fills.
3. Drip Email Campaign
Rather than sending one-off blasts, drip campaigns offer structured, time-phased outreach to nurture prospects.
How to Set Up a Drip Campaign
- Navigate to the Drip Email Campaign tab and click “Create New Drip.”
- Enter campaign details:
- Name
- Associated Object
- Description
- Status (must be Active to execute)
Configure Automated Drip Logic
The Automated Drip Campaigns section lets you:
- Turn Automation On/Off
- Define When to Execute (trigger events)
- Set Conditions for record inclusion
- Choose the Preferred To Email and Sender Email
Drips can then be applied to bulk emails for promotional series, product announcements, or onboarding sequences. This is one of the best ways to send mass email using Salesforce Apex in a behavior-triggered fashion.
4. Sending Emails Using Automation
If you’re aiming for a no-touch email trigger system based on business logic, Salesforce Flows can be set up to handle this.
Using Record-Triggered Flows
- Go to Setup > Enter “Flow” > Create a new Record-Triggered Flow
- Define the criteria (e.g., Lead status = Qualified)
- Configure your variables and map the data
- Plug in your Apex Email action or component
- Activate the Flow
This allows you to send mass email from Salesforce Lightning without manual initiation, which is perfect for auto-sending follow-up emails, order confirmations, or alert notifications.
Automate Your Salesforce Email Campaigns with Ease

Final Thoughts
Executing mass email campaigns doesn’t always require leaving Salesforce. With the right setup, admins and developers can easily configure, schedule, and automate their outreach using Apex, Flow, and reporting components. Whether you’re using drip sequences or real-time triggers, there are multiple options to send mass emails from Salesforce Lightning in a compliant and scalable way.
Remember, while sending mass emails through Salesforce, it’s critical to monitor deliverability, ensure your domains are verified, and stay within Salesforce’s governor limits. But with tools like 360 SMS or MassMailer, combined with Apex logic, you’ll unlock powerful and personalized communications without the complexity of external systems.
Looking to power up your Salesforce email strategy? Embrace 360 Mass Mailer and let Apex handle the rest.
Frequently Asked Questions
What is mass email in Salesforce Apex?
Mass email in Salesforce Apex refers to sending emails to multiple records such as leads, contacts, or custom objects using Apex code or automation tools.
Can I send bulk emails using Salesforce Apex?
Yes, Salesforce Apex allows you to send bulk emails programmatically. However, it is subject to governor limits, which may require additional tools for large-scale campaigns.
How do I send mass emails in Salesforce Lightning?
You can send mass emails using list views, campaigns, reports, Apex automation, or Salesforce Flow depending on your use case.
Can I schedule mass emails in Salesforce?
Yes, Salesforce allows scheduling of emails daily, weekly, or monthly with custom timing to automate campaigns.
What is a drip email campaign in Salesforce?
A drip campaign is a sequence of automated emails sent over time based on triggers or conditions to nurture leads and improve engagement.
Can I automate emails using Salesforce Flow?
Yes, you can use record-triggered flows to automatically send emails based on predefined conditions like lead status changes.
What are the limitations of Salesforce Apex for mass emails?
Apex has limitations such as email sending limits, governor limits, and restricted scalability for very large campaigns.
How can I send personalized bulk emails using Apex?
Apex allows dynamic personalization using fields from Salesforce records, enabling customized emails for each recipient.
What is the best way to automate email campaigns in Salesforce?
The best approach is to combine Apex, Flow automation, and third-party tools for scalability and efficiency.
Can I send emails from Salesforce reports?
Yes, using the “Email From Reports” feature, you can send emails to records that match specific criteria in reports.
About the author
Editorial TeamThe Editorial Team at 360 Degree Cloud brings together seasoned marketers, Salesforce specialists, and technology writers who are passionate about simplifying complex ideas into meaningful insights. With deep expertise in Salesforce solutions, B2B SaaS, and digital transformation, the team curates thought leadership content, industry trends, and practical guides that help businesses navigate growth with clarity and confidence. Every piece we publish reflects our commitment to delivering value, fostering innovation, and connecting readers with the evolving Salesforce ecosystem.
Recent Blogs
Integration
Revamp Marketing Strategy with Salesforce Integration Services
Integrating your CRM with marketing automation might seem like a phrase full of buzzwords, but there’s a lot to know when you’ll take a deeper…
Read More
Email Marketing
Running Mass Email Campaign in Salesforce
Electronic mail marketing is still one of the effective channels in today’s business environment as it establishes an immediate link between a business organization and…
Read More
Email Marketing
Salesforce Mass Email to Boost Email Operations
While performing email operations, the top concern is the number of emails you can send on a daily basis. When it comes to outreach, the…
Read MoreReady to Make the Most Out of Your Salesforce Instance?
Our Salesforce aces would be happy to help you. Just drop us a line at contact@360degreecloud.com, and we’ll take it from there!
Subscribe to our newsletter
Stay ahead with expert insights, industry trends, and exclusive resources—delivered straight to your inbox.
