AI студия Владимира Ломтева
УСЛУГИПРОЕКТЫСТАТЬИБАЗА ЗНАНИЙМаркетплейсПолезные сервисы

Оставьте заявку,
чтобы обсудить проект

Напишите ваш вопрос, не забудьте указать телефон. Мы перезвоним и все расскажем.

Контакты

Москва

Работаем по всей России
и миру (онлайн)

+7 (999) 760-24-41

Ежедневно с 9:00 до 21:00

lamooof@gmail.com

По вопросам сотрудничества

TelegramWhatsApp

Есть предложение?

Напишите нам в мессенджеры

© 2025 AI студия Владимира Ломтева

Политика конфиденциальностиСогласие на обработку ПДн|ИНН 623412173261
    Email Smtp Send — Скилл для ИИ-агентов | AI Рассвет

    Email Smtp Send

    Send emails through SMTP with optional local attachments and optional IMAP APPEND sync to Sent mailbox. Use when tasks need reliable outbound email delivery, attachment sending, SMTP connectivity checks, or cross client sent mail visibility (for example appending to "Sent Items" after SMTP send).

    Скиллы для операций#GitHub#tiangong-ai/skills#skills.sh
    Скачивания
    0
    В избранном
    0
    Комментарии
    0
    Просмотры
    2

    Установить скилл

    Добавьте инструмент одной командой или скачайте проверенный архив версии.

    npx skills add tiangong-ai/skills --skill email-smtp-send
    Скачать ZIP
    Версия
    1.0.0+4104e527facd
    Автор
    Владимир Ломтев
    Репозиторий
    tiangong-ai/skills
    GitHub: tiangong-ai/skills

    Как установить

    1. 1Скопируйте команду из блока установки.
    2. 2Запустите её в терминале из каталога проекта.

    Документация

    Email SMTP Send

    Core Goal

    • Send outbound email via SMTP with env-configured credentials.
    • Attach local files into MIME email payload when requested.
    • Optionally append the sent message to IMAP sent mailbox for cross-client visibility.
    • Validate SMTP and sent-sync configuration before delivery.
    • Return machine-readable JSON status/error output.

    Workflow

    1. Configure SMTP env vars (see references/env.md and assets/config.example.env).
    2. Optional: configure IMAP sent-sync env vars and install imapclient when sync is enabled.
    3. Validate configuration:
    python3 scripts/smtp_send.py check-config
    
    1. Send one email:
    python3 scripts/smtp_send.py send \
      --to recipient@example.com \
      --subject "SMTP test" \
      --body "Hello from email-smtp-send"
    
    1. Send with attachments:
    python3 scripts/smtp_send.py send \
      --to recipient@example.com \
      --subject "Package delivery" \
      --body "See attachments." \
      --attach ./report.pdf \
      --attach ./appendix.xlsx
    
    1. Send and sync to sent mailbox:
    python3 scripts/smtp_send.py send \
      --to recipient@example.com \
      --subject "Synced send" \
      --body "This message will be appended to Sent Items." \
      --sync-sent \
      --sent-mailbox "Sent Items"
    

    Output Contract

    • check-config prints sanitized SMTP config + defaults + sent-sync config JSON.
    • send success prints one type=status JSON object containing:
      • event=smtp_sent
      • sender, recipient summary, subject, SMTP host/port
      • message_id
      • attachment_count and attachments[] metadata
      • sent_sync object with enabled, required, appended, and sync metadata/error
    • send failures print type=error JSON to stderr with one of:
      • event=smtp_send_invalid_args
      • event=smtp_send_failed
      • event=smtp_sent_sync_failed (only when sync is required and sync fails)

    Parameters

    • send --to: required recipient, repeatable or comma-separated.
    • send --cc: optional CC recipients.
    • send --bcc: optional BCC recipients.
    • send --subject: optional subject (defaults from env).
    • send --body: optional body (defaults from env).
    • send --content-type: plain or html.
    • send --from: optional sender override.
    • send --attach: optional local attachment path, repeatable or comma-separated.
    • send --max-attachment-bytes: max bytes allowed per attachment.
    • send --message-id: optional Message-ID header.
    • send --in-reply-to: optional In-Reply-To header.
    • send --references: optional References header.
    • send --sync-sent|--no-sync-sent: force-enable/disable IMAP sent sync for this send.
    • send --sent-mailbox: override sent mailbox.
    • send --sent-flags: IMAP APPEND flags, comma-separated (default \Seen).
    • send --sent-sync-required: return non-zero if SMTP succeeds but sent sync fails.

    Environment defaults:

    • SMTP_HOST, SMTP_PORT, SMTP_SSL, SMTP_STARTTLS
    • SMTP_USERNAME, SMTP_PASSWORD, SMTP_FROM, SMTP_CONNECT_TIMEOUT
    • SMTP_SUBJECT, SMTP_BODY, SMTP_CONTENT_TYPE
    • SMTP_MAX_ATTACHMENT_BYTES
    • SMTP_SYNC_SENT, SMTP_SYNC_SENT_REQUIRED
    • SMTP_SENT_IMAP_HOST, SMTP_SENT_IMAP_PORT, SMTP_SENT_IMAP_SSL
    • SMTP_SENT_IMAP_USERNAME, SMTP_SENT_IMAP_PASSWORD
    • SMTP_SENT_IMAP_MAILBOX, SMTP_SENT_IMAP_FLAGS, SMTP_SENT_IMAP_CONNECT_TIMEOUT
    • compatibility fallbacks: IMAP_HOST, IMAP_PORT, IMAP_SSL, IMAP_USERNAME, IMAP_PASSWORD, IMAP_CONNECT_TIMEOUT

    Dependency

    • Sent-sync mode requires imapclient:
    python3 -m pip install imapclient
    

    Error Handling

    • Invalid env config exits with code 2.
    • Send failure exits with code 1.
    • If sync is required (--sent-sync-required or SMTP_SYNC_SENT_REQUIRED=true), sync failure exits with code 1.

    References

    • references/env.md

    Assets

    • assets/config.example.env

    Scripts

    • scripts/smtp_send.py

    Требования и возможности

    Источник пакета
    https://github.com/tiangong-ai/skills/tree/4104e527facd09ecc242dad7a1e9645adf9d21f0/email-smtp-send

    Файлы версии

    ПутьРазмерSHA256
    SKILL.md42151eb708024f45295a...
    agents/openai.yaml2840b59d845f59c9862...
    references/env.md2621359faff9dd434c92...
    scripts/smtp_send.py24953cb9cdba232179a75...

    Частые вопросы

    Как установить Email Smtp Send?
    Используйте команду npx skills add tiangong-ai/skills --skill email-smtp-send или скачайте ZIP-архив.
    Можно ли скачать Email Smtp Send бесплатно?
    Да, опубликованную версию можно скачать из маркетплейса бесплатно.

    Похожие инструменты

    Смотреть все
    Story Long Write长篇网文写作。从大纲到正文,辅助长篇网络小说的创作,包括世界观、人物、情节线管理。触发方式:/story-long-write、/写长篇、「帮我开书」「写大纲」「日更」「续写」「继续写」「修改第X章」「回炉」「重写第X章」。Parallel Deep ResearchONLY use when user explicitly says 'deep research', 'exhaustive', 'comprehensive report', or 'thorough investigation'. Slower and more expensive than parallel-web-search. For normal research/lookup requests, use parallel-web-search instead. Supports multi-turn: pass --previous-interaction-id from a prior research or enrichment to continue with context.LangfuseInteract with Langfuse and access its documentation: tracing, monitoring, creating datasets, running experiments, and evaluating AI applications. Use when needing to (1) query or modify Langfuse data, (2) look up Langfuse documentation, concepts, integration guides, a feature or SDK usage, or (3) do any AI engineering task (AI observability, prompt engineering/management, evaluation and evaluator management, experimentation, dataset management, evaluation-driven CI/CD, feedback collection). Invoke it for tasks in this scope even when Langfuse is not configured or explicitly mentioned.
    Комментарии

    Войдите, чтобы оставить комментарий.

    Комментариев пока нет.

    Установить скилл

    Добавьте инструмент одной командой или скачайте проверенный архив версии.

    npx skills add tiangong-ai/skills --skill email-smtp-send
    Скачать ZIP
    Версия
    1.0.0+4104e527facd
    Автор
    Владимир Ломтев
    Репозиторий
    tiangong-ai/skills
    GitHub: tiangong-ai/skills
    Excel Automation>