nocobase-app-plugin-mail
ما الذي تفعله
تدمج هذه المهارة إضافة Mail في NocoBase داخل التطبيق. تغطي ربط حسابات البريد وإضافة شاشات البريد والإرسال من شيفرة الأعمال وتشخيص مشكلات المزامنة. وهي مخصصة للمطورين الذين يضيفون البريد الإلكتروني إلى تطبيق أعمال.
متى تستخدمها
- ✓عندما تريد أن يربط المستخدمون حسابات Gmail أو Microsoft 365 أو IMAP بتطبيق NocoBase.
- ✓عندما تحتاج شيفرة الأعمال إلى إرسال بريد إلكتروني من التطبيق.
- ✓عندما لا يتم مزامنة البريد أو تسليمه، وتحتاج إلى تشخيص.
رابط المهارة
https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-mail/skills/nocobase-app-plugin-mail/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك ربط حساب Gmail بتطبيق NocoBase الخاص بي حتى يقرأ فريق المبيعات البريد ويرسله من صفحة العميل؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يتبع الذكاء الاصطناعي قائمة تحقق: يؤكد المدخلات، ويضبط مزود البريد، ويضيف شاشات البريد، ويفحص مسار الإرسال. ويطلب موافقتك قبل تفويض أي صندوق بريد خارجي.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Goal
Provide a safe, contract-first workflow for integrating the installed @nocobase/app-plugin-mail package into a NocoBase 3 application and validating the requested behavior.
Contents
- Scope
- Input Contract
- Mandatory Clarification Gate
- Workflow
- Reference Loading Map
- Safety Gate
- Rollback Guidance
- Verification Checklist
- References
Scope
This Skill covers application composition, provider configuration, account connection, production mail UI, business-code sending, drafts, attachments, synchronization, and delivery diagnostics. Use the installed package's public Client, Server, and HTTP contracts; versions may differ from the references.
Non-Goals
Do not change the Mail plugin implementation from an application integration task, access private stores or database tables directly, configure notification delivery, authorize an external mailbox without the user's approval, or claim that mocked checks prove live provider delivery.
Input Contract
| Input | Required | Default | Validation |
|---|---|---|---|
action |
yes | none | One of inspect, configure, integrate, send, or diagnose. Stop and ask when absent or outside the enum. |
target |
yes | none | Application path, installed package path, route, provider, account, or failure identifier relevant to action. Stop and ask when absent. |
provider |
no | auto |
One of gmail, microsoft, imap-smtp, or auto; auto means infer only when the target identifies one provider. |
scope |
no | local |
One of local, authorized-test, or production; live mailbox mutations require explicit authorized-test or production scope. |
validation |
no | static |
One of static, mocked, or live; never imply live when credentials or an authorized environment are unavailable. |
Mandatory Clarification Gate
Before any mutation, confirm that action, target, and the intended scope are present and valid. If a required value is missing, stop and ask rather than guessing. Clarification is bounded to max clarification rounds=2 and max questions per round=3.
When the user says “you decide”, use provider=auto, scope=local, and validation=static; do not connect an account, send mail, mutate a mailbox, or change production configuration under those defaults. For an ambiguous provider, inspect the installed configuration first, then ask if more than one provider remains possible.
Workflow
- Inspect the installed package version, public exports and types, application
client/plugins.ts,server/plugins.ts, and relevant configuration before editing. - Select the smallest matching reference from the loading map. Read additional references only when the task crosses their boundary.
- Check ownership and permissions. The application owns registration, provider configuration, role grants, business associations, and page composition; Mail owns accounts, authorization, submissions, sync runs, cursors, and background job and outbox orchestration.
- Implement through public components, service tokens, and HTTP APIs. Resolve
mailServiceTokenormailClientTokeninstead of constructing internal stores or runtimes. - Before live account or mailbox operations, restate the target provider, account or mailbox, operation, and authorized scope. Proceed only when the input contract and gate are satisfied.
- Validate the result with the checklist below and the relevant reference. Separate static checks, mocked provider checks, and live provider results.
- For every write, read the changed configuration, generated file, API response, or returned operation status immediately and compare it with the requested state.
- Report unavailable external validation, uncertain provider acceptance, and any remaining follow-up instead of presenting them as successful delivery.
Reference Loading Map
| Task
الأسئلة الشائعة
هل يربط صندوق بريدي تلقائيًا؟
لا. تشترط المهارة موافقتك قبل تفويض صندوق بريد خارجي.
هل تثبت الاختبارات أن البريد وصل؟
لا. الفحوص الوهمية لا تثبت تسليم المزود الحي، لذلك تنص المهارة على التحقق منه بشكل منفصل.
هل تغيّر شيفرة إضافة البريد؟
لا. تستخدم واجهاتها العامة.
التفاصيل
الوصف الأصلي من المؤلف
Use when integrating the NocoBase 3 Mail plugin into an application: configure Gmail, Microsoft 365, or IMAP/SMTP accounts, embed mail UI, send from business code, or diagnose synchronization and delivery.
repo: nocobase/nocobase
الشعبية
- نجوم GitHub
- 25k
- الترتيب
- #10100
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
nocobase-app-development
25kيساعد وكيلك على بناء صفحات ومسارات وبيانات وصلاحيات واختبارات لتطبيق أعمال كامل على NocoBase 3.
shadcn
25kيساعد وكيلك على إيجاد مكونات shadcn/ui وإضافتها وإصلاحها وتنسيقها في مشروع ويب، باستخدام وثائقها الرسمية وسجلاتها.
nocobase-app-plugin-development
25kيساعد وكيلك على إنشاء إضافات NocoBase 3 وصيانتها داخل تطبيق موجود، بما في ذلك أجزاء الخادم والعميل وقاعدة البيانات والتسجيل.
nocobase-app-upgrade
25kيساعد وكيلك على ترقية تطبيق NocoBase إلى إصدار أحدث من القالب، فيأخذ تغييرات القالب ويحتفظ بعملك الخاص.
مهارات مشابهة
discord-user-post
394kتتيح لوكيلك نشر رسالة وافقت عليها في Discord باسمك عبر تطبيق Discord على سطح المكتب، بعد التأكد من القناة المحددة.
configure-channel
394kتعلّم وكيلك كيف يربط تطبيق محادثة مثل Telegram بـ OpenClaw، ويخزّن رمز البوت بأمان، ويتحقق من أن الرسائل تصل.
discord
394kيساعد وكيلك على قراءة رسائل Discord وإرسالها وتعديلها والتفاعل معها عبر OpenClaw، مع التحقق من الرسالة بدقة قبل أي تغيير.