تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

mailgun-simple

بواسطة lksrz

Web & Frontend Development
507التنزيلات وفق ما يذكره clawskills.sh
2النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Send outbound emails via the Mailgun API.

الوصف

ما الذي تفعله هذه المهارة

Sends outbound emails through the Mailgun API using the official Mailgun JS SDK. Requires a verified sending domain and API key configured via environment variables.

Uses the official Mailgun SDK directly rather than generic SMTP, giving access to Mailgun-specific delivery tracking and EU/US region routing.

متى تستخدمها

  • Sending transactional emails from an agent workflow
  • Notifying users when a background job completes
  • Dispatching password reset or confirmation emails
  • Alerting a team when a monitored threshold is crossed
  • Forwarding form submissions to an inbox

مثال على سير العمل

الإدخال

User asks: send an email to user@example.com with subject 'Report Ready' and body 'Your report is attached.'

الوكيل
  1. 1

    Read MAILGUN_API_KEY, MAILGUN_DOMAIN, MAILGUN_REGION, and MAILGUN_FROM from environment

  2. 2

    Initialize Mailgun client with the appropriate regional endpoint

  3. 3

    Construct the message object with to, subject, and text fields

  4. 4

    Call the Mailgun messages API to dispatch the email

الإخراج

Email delivered to user@example.com via Mailgun with a returned message ID

المتطلبات

  • MAILGUN_API_KEY environment variable
  • MAILGUN_DOMAIN environment variable (verified sending domain in Mailgun)
  • MAILGUN_REGION environment variable (EU or US)
  • Mailgun account

التثبيت

clawhub install lksrz/mailgun-simple

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط