Skip to content

[Apple Mail] Add Save Mail as File command - #33888

Merged
raycastbot merged 5 commits into
raycast:mainfrom
ViGeng:feat/mail-save-selected-email
Nov 23, 2026
Merged

raycastbot merged 5 commits into
raycast:mainfrom
ViGeng:feat/mail-save-selected-email

Conversation

@ViGeng

@ViGeng ViGeng commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Description

This adds Save Mail as File, which exports the first selected Apple Mail message as an .eml file and copies the file to the clipboard. The export keeps the raw message source and attachments.

Save Exported Emails is enabled by default and also saves the file to the configured folder, which defaults to Downloads. Turning it off keeps one subject-named .eml file in Raycast's extension support directory for clipboard pasting. Each export replaces a matching filename or removes the previous differently named backing file. Successful exports also clean up the legacy temporary export folders. Existing saved files receive numbered filenames, and export failures show a copyable error report.

Screencast

A new screencast is not included. Native validation of the final command and save preference remains pending.

Validation

I reviewed the source and outgoing files. I have not run automated tests, lint, or a distribution build for this submission.

Checklist

@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: mail Issues related to the mail extension AI Extension platform: macOS OP is contributor The OP of the PR is a contributor of the extension labels Nov 23, 2026
@raycastbot

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! 🎉

🔔 @yug2005 @ikupenov @pernielsentikaer @fengtianze @tleo19 @Luk4h @jfkisafk @StevenRCE0 @ridemountainpig @danteissaias @ANemcov @xilopaint @chrahe @clins1994 @BitForger you might want to have a look.

You can use this guide to learn how to check out the Pull Request locally in order to test it.

📋 Quick checkout commands
BRANCH="feat/mail-save-selected-email"
FORK_URL="https://github.com/ViGeng/extensions.git"
EXTENSION_NAME="mail"
REPO_NAME="extensions"

git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run dev

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days.

@greptile-apps

greptile-apps Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] No new blocking issue remains in this review.

Summary

Adds Save Mail as File to export the first selected Apple Mail message and copy the .eml file.

  • The first selected Apple Mail message becomes a clipboard-ready .eml file.
  • Email previews let the parser choose each message's encoding.

Reviews (4) · Last reviewed commit: "Update CHANGELOG.md" · Reviewed by Greptile

@0xdhrv 0xdhrv self-assigned this Nov 23, 2026

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit 423a941 into raycast:main Nov 23, 2026
2 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Extension extension fix / improvement Label for PRs with extension's fix improvements extension: mail Issues related to the mail extension OP is contributor The OP of the PR is a contributor of the extension platform: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants