Send Email

Send Email

by apify

Send a custom email to one or more recipients. This Actor is useful for notifications and reporting. It can be invoked directly from code or via webho...

1,821,362 runs
2,987 users
Try This Actor

Opens on Apify.com

About Send Email

Send a custom email to one or more recipients. This Actor is useful for notifications and reporting. It can be invoked directly from code or via webhook integration after another Actor finishes.

What does this actor do?

Send Email is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Apify Send Mail Apify actor to send mail. This actor is meant to be used as a reporting tool and must not be used to send promotional or spammy emails. Using it as such will lead to the user being banned on the Apify platform. ## Input Example: javascript { // Email address of the recipient(s) (e.g. "Bob <bob@example.com>") // Required to: String, // Email CC same format as to // Required cc: String // Email BCC same format as to bcc: String // Email subject // Required subject: String, // Text body of Email // Required text: String, // Email attachments attachments: [Object] } Attributes: - to - Email address of the recipient(s), you can comma-separate multiple addresses (e.g. "Bob bob@example.com" or "bob@example.com, hello@apify.com") - cc - Email CC same format as to - bcc - Email BCC same format as to - subject - Email subject - text - Text body of Email - html - HTML body of Email - replyTo - Email address which will be set when recipient will try to reply to mail. (Uses header Reply-To see doc) - attachments - array of attachments in base64 string, example: javascript [{ // attachment file name filename: String, // attachment content in base64 string data: String }] ## Limitations To prevent abuse, the actor limits the number of email recipients: - Users on the free plan can only send emails to their own email address associated with their Apify account. - Paying users can send emails to up to 20 different recipients. ## Usage ### From other Apify actor javascript await Apify.call('apify/send-mail', { to: 'test@apify.com', subject: 'Test from act', text: "Email text", attachments: [{ filename: 'test.txt', data: 'dGVzdCBzZmFzZGFzZGFzZGFzZA' }] }); ### From Apify actor/task webhook Calling this actor via a webhook is very handy because you can ensure it is sent only after specific event happens. Here is an example setup to send email after failed run. 1. Open Webhooks tab of the actor/task that you want to monitor. 2. Set Event types to Run failed and Run timed out. 3. URL is the RUN API endpoint of this actor, just fill your API token - https://api.apify.com/v2/acts/apify~send-mail/runs?token=APIFY_API_TOKEN 4. Payload template represents the body that is sent to this actor: Example of payload that sends run ID in the email text: { "to": "test@apify.com", "subject": "Task Scrape-website run failed", "text": {{eventData.actorRunId}} }

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Send Email now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
apify
Pricing
Paid
Total Runs
1,821,362
Active Users
2,987
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support