13 lines
429 B
Markdown
13 lines
429 B
Markdown
# macOS Mail
|
|
Description: Manage emails via the macOS Mail app using AppleScript. Can fetch recent emails and send new ones.
|
|
|
|
## Tools
|
|
|
|
### fetch
|
|
Description: Get the latest N emails from the inbox.
|
|
Command: osascript skills/macos-mail/fetch_emails.scpt {{limit}}
|
|
|
|
### send
|
|
Description: Send an email using the default account in macOS Mail.
|
|
Command: osascript skills/macos-mail/send_email.scpt "{{to}}" "{{subject}}" "{{body}}"
|