Document mail allow/block sender commands#1741
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR revises Feishu mail skill documentation across two files, adding user-level allow/block sender list management via native API, stricter send confirmation and send_status verification flows, expanded HTML linting/template rules, and a comprehensive API resources and permission reference table. ChangesMail skill documentation update
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant User
participant Skill
participant MailAPI
User->>Skill: request send email
Skill->>User: confirm recipients and content
User->>Skill: confirm
Skill->>MailAPI: send message (send_as/timed options)
MailAPI-->>Skill: send result
Skill->>MailAPI: query send_status
MailAPI-->>Skill: delivery status
Skill->>User: report delivery status
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@skills/lark-mail/SKILL.md`:
- Around line 741-746: The sender-list scope table is over-permissive because
the `user_mailbox.allow_senders.list` and `user_mailbox.blocked_senders.list`
entries are read-only but are currently mapped to
`mail:user_mailbox.message:modify`. Update the permission mapping in `SKILL.md`
so the `list` rows use the appropriate readonly scope, while keeping
`mail:user_mailbox.message:modify` only for
`user_mailbox.allow_senders.batch_create`,
`user_mailbox.allow_senders.batch_remove`,
`user_mailbox.blocked_senders.batch_create`, and
`user_mailbox.blocked_senders.batch_remove`.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 388ab9b8-c34e-4bbe-b341-fa372212029c
📒 Files selected for processing (2)
skill-template/domains/mail.mdskills/lark-mail/SKILL.md
Change-Type: ci-fix
Updates the mail command references so user mailbox allow/block sender operations are documented and discoverable.
Summary by CodeRabbit
send_asexamples.