Repository navigation
邮件回复默认只存草稿,直接发出要在设置里打开 - #61
Merged
Merged
Conversation
matefeishu_mail_reply's `send` now defaults to false. A new setting `mail_send` (default off) is required before send=true sends the mail; with it off the card says 只存草稿 and names the setting. The card's digest covers the effective send, so toggling the setting after a card was shown refuses that card before any lark-cli command runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
做了什么
邮件回复工具
matefeishu_mail_reply改成默认只存草稿。send默认改为 false。AI 起草的回复,确认卡片第一行写「只存草稿」,批准后草稿进飞书邮箱的草稿箱,回执提示「到飞书邮箱的草稿箱里检查后发出」。mail_send),默认关。只有打开它、且调用时send=true,才会直接发出;没打开时即使send=true也只存草稿,卡片上写明「设置里没有打开「回复邮件可以直接发出」」。原因:直接发出需要飞书应用有
mail:user_mailbox.message:send权限。不开这个权限时,原来默认直接发出的卡片批准后每次都会失败。没有新增 hub 权限、界面位置或命令行工具;只改了飞书扩展。
怎么验证的
bash scripts/test.sh和PYTHON=/usr/bin/python3 bash scripts/test.sh通过。🤖 Generated with Claude Code