AgentSkillsCN

bloomx-mail

通过BloomX进行完整的邮件管理(发送、接收)。需要身份验证。

SKILL.md
--- frontmatter
name: bloomx-mail
description: Full email management (send, receive) via BloomX. Requires authentication.
authentication:
  type: bearer
  token_url: /api/molt/auth/connect
  refresh_url: /api/molt/auth/refresh
  algorithms: ["HS256"]

BloomX Mail Service

Manage your emails directly through BloomX.

Authentication

This skill requires specific authentication handling.

  1. Connect: POST to /api/molt/auth/connect with { email, password } to get accessToken and refreshToken.
  2. Use: Send Authorization: Bearer <accessToken> in headers.
  3. Refresh: POST to /api/molt/auth/refresh with { refreshToken } when 401.

Tools

send_email

Send an email to a recipient.

Method: POST URL: /api/molt/messages Content-Type: application/json

Body:

json
{
  "to": "user@example.com",
  "subject": "Subject",
  "text": "Body content",
  "cc": ["manager@example.com"],
  "bcc": ["archive@example.com"],
  "reply_to": "support@example.com",
  "scheduled_at": "2023-10-25T12:00:00.000Z"
}
ParameterTypeDescription
tostring/arrayRecipient email(s)
subjectstringEmail subject
textstringPlain text content
htmlstringHTML content (optional)
ccstring/arrayCC recipients (optional)
bccstring/arrayBCC recipients (optional)
reply_tostringReply-To address (optional)
scheduled_atstringISO 8601 date to schedule sending (optional)

get_recent_emails

Get a list of recent emails from your inbox or specific folder.

Method: GET URL: /api/molt/messages Query Parameters:

  • limit (optional): Number of emails to retrieve (default: 10).
  • folder (optional): Folder to retrieve from (default: "inbox").