nocobase-app-plugin-mail
Fungsinya
Skill ini mengintegrasikan plugin Mail NocoBase ke dalam aplikasi. Skill mencakup menghubungkan akun email, menambahkan layar email, mengirim email dari kode bisnis, dan mendiagnosis masalah sinkronisasi. Cocok untuk pengembang yang menambahkan email ke aplikasi bisnis.
Kapan dipakai
- ✓Saat Anda ingin pengguna menghubungkan akun Gmail, Microsoft 365, atau IMAP ke aplikasi NocoBase.
- ✓Saat kode bisnis perlu mengirim email dari aplikasi.
- ✓Saat email tidak tersinkron atau tidak terkirim, dan Anda memerlukan diagnosis.
Link skill
https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-mail/skills/nocobase-app-plugin-mail/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Bisakah Anda menghubungkan akun Gmail ke aplikasi NocoBase saya agar tim penjualan bisa membaca dan mengirim email dari halaman pelanggan?”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
AI mengikuti daftar periksa. AI memastikan input, mengatur penyedia email, menambahkan layar email, dan memeriksa jalur pengiriman. AI meminta persetujuan Anda sebelum mengotorisasi kotak surat eksternal.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apakah kotak surat saya dihubungkan secara otomatis?
Tidak. Skill mengharuskan persetujuan Anda sebelum mengotorisasi kotak surat eksternal.
Apakah tes bisa membuktikan bahwa email terkirim?
Tidak. Pemeriksaan tiruan tidak membuktikan pengiriman dari penyedia sungguhan, sehingga skill meminta verifikasi terpisah.
Apakah ini mengubah kode plugin mail?
Tidak. Skill memakai antarmuka publik plugin.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 25k
- Peringkat
- #10100
- Lisensi
- —
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
nocobase-app-development
25kMembantu agent Anda membangun halaman, rute, data, izin, dan tes untuk aplikasi bisnis NocoBase 3 yang lengkap.
shadcn
25kMembantu agent Anda menemukan, menambahkan, memperbaiki, dan memberi gaya komponen shadcn/ui pada proyek web, dengan memakai dokumentasi resmi dan registry-nya.
nocobase-app-plugin-development
25kMembantu agent Anda membuat dan memelihara plugin NocoBase 3 di dalam aplikasi yang sudah ada, mencakup bagian server, klien, database, dan registrasi.
nocobase-app-upgrade
25kMembantu agent Anda meningkatkan aplikasi NocoBase ke rilis template yang lebih baru, membawa perubahan template sambil tetap mempertahankan pekerjaan Anda sendiri.
Skill serupa
discord-user-post
394kMemungkinkan agent Anda mengirim pesan yang sudah Anda setujui ke Discord atas nama Anda, lewat aplikasi desktop Discord, setelah channel tujuannya dipastikan.
configure-channel
394kMengajari agent Anda menghubungkan aplikasi chat seperti Telegram ke OpenClaw, menyimpan token bot dengan aman, dan memastikan pesan benar-benar mengalir.
discord
394kMembantu agent Anda membaca, mengirim, mengedit, dan memberi reaksi pada pesan Discord lewat OpenClaw, dengan memeriksa pesan yang tepat sebelum perubahan dilakukan.