extension-email
Support for sending service/transactional emails. Don't use this for sending marketing emails or verification emails.
DeepseekModel
キュレーション済みスキル
品質 良好 · 48
v1.0.0
取得
https://deepseekmodel.com/api/download.php?id=caffeinelabs-skills-skills-extension-email-skill-md&format=skill
ダウンロード .skill
標準形式。system_prompt と model_config を収録し、任意の Agent で利用可能
.skill ファイルの system_prompt フィールドの実際の内容。
name extension-email description Support for sending service/transactional emails. Don't use this for sending marketing emails or verification emails. version 0.2.0 compatibility {"mops":{"caffeineai-email":"~0.2.0"}} caffeineai-subscription ["plus","pro"] Email — Service/Transactional Service/transactional email extension for Caffeine AI . Overview This skill adds support for sending service and transactional emails from the backend canister. Use sendServiceEmail for order confirmations, notifications, and similar one-off emails. Backend This component is for sending service/transactional emails. There is the prefabricated module mo:caffeineai-email/emailClient.mo which cannot be modified. Use the sendServiceEmail function. Each recipient is sent an individual email It returns a SendResult which is #ok if the email is sent successfully otherwise #err(error) with the error text. module { public type SendResult = { #ok; #err : Text; }; public func sendServiceEmail( fromUsername : Text, recipients : [Text], subject : Text, htmlBody : Text, ) : async SendResult; }; Usage for sendServiceEmail : import Runtime "mo:core/Runtime"; import EmailClient "mo:caffeineai-email/emailClient"; actor { public func sendOrderConfirmationEmail(recipientEmailAddress : Text, username : Text, orderReference : Text) : async () { let result = await EmailClient.sendServiceEmail( "no-reply", [recipientEmailAddress], "Order " # orderReference # " confirmed", "Hello " # username # ",\nYour order " # orderReference # " has been confirmed. Your items will ship tomorrow.", ); switch (result) { case (#ok) {}; case (#err(error)) { Runtime.trap("Failed to send order confirmation email: " # error); }; }; }; };
このスキルを起動するキーワード。クリックでコピーできます。
このスキルにはトリガーワードがありません。
ダウンロードした .skill に含まれるフィールド。
| フィールド | 説明 |
|---|---|
| format | フォーマット識別子(skill/v1) |
| skill_id | スキル固有 ID |
| name | スキル名 |
| version | バージョン |
| description | 説明 |
| category | カテゴリ(配列) |
| trigger_words | トリガーワード |
| tags | タグ |
| source | ソース |
| source_url | ソース URL(本ページ) |
| exported_at | エクスポート日時(ダウンロード毎) |
| system_prompt | システムプロンプト本文 |
| model_config | モデル設定:provider / model / temperature / max_tokens / top_p |
| examples | サンプル |
| install_guide | 各プラットフォームの導入説明(Coze / Dify / Claude / カスタム) |