Station AcademyActivity referenceRPAi StationConsultingAurora Academy
Level 5 · Advanced automation

Email automation

Send and read e-mail through your own mail server with Send Email and Read Email, safely and only with test accounts while learning.

Advanced≈ 20 min (estimate)Windows, macOSSource-verified
Before this lesson
HTTP requests and APIs
You will learn to
  • Configure SMTP and IMAP settings
  • Use a credential instead of a typed password
  • Read messages with a filter
  • Avoid unsolicited or accidental mail

Station talks to your mail server directly: SMTP to send, IMAP to read. It does not use Outlook or Mail.app.

Before you start

  • Use a test mailbox while learning. Send only to yourself.
  • Your provider may require an app password or OAuth instead of your normal password, and your company may not allow automated access. Check first.
  • Store the password in the system credential store and load it with Get Credential.

Send Email

Send Email: From, To, Subject, Body, Attachments, plus server settings (Mac editor: SMTP server, Port, Security STARTTLS/SSL/None, User name, Password variable, Sign-in Password or OAuth 2 token).

Read Email

Read Email: Folder (for example INBOX), Filter, Max Emails and Save To Variable, plus IMAP server settings. On a Mac, reading does not mark messages as read.

Activities in this lesson

Send Email · Read Email · Get Credential · Log

Saved only in this browser.

Source-verified. Steps were checked against the Station source code and authentic screenshots. Not yet executed step by step in the app. Written against RPAi Station for macOS 0.1.0 (1) (RPAi_Station_2.0 @ port/macos 9864e96) and the Windows source (RPAi_Station_2.0 @ codex/native-station e68f16d). Reviewed 2026-11-30. UI labels may differ slightly in other versions; see versions and changes.