mark_mails_unimportant
Change emails to unimportant status in Naver Mail to reduce inbox clutter and prioritize important messages. Specify email UIDs to mark as low priority.
Instructions
메일을 중요하지 않음 상태로 변경
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mail_uids | Yes | 중요하지 않음 처리할 메일들의 UID 목록 |
Implementation Reference
- service/mail_service.py:137-144 (handler)The actual implementation of the tool 'mark_mails_unimportant' inside MailService.
def mark_as_unimportant(self, mail_uids: List[str]) -> None: """ 메일을 중요 상태로 변경합니다. 중요 상태는 메일 클라이언트에서 중요 표시로 표시됩니다. """ with self._get_mailbox_client() as mailbox: mailbox.flag(mail_uids, '\\Flagged', False) - server.py:484-492 (registration)The tool handler registration and invocation logic in the server.
elif name == "mark_mails_unimportant": mail_uids = args.get("mail_uids", []) if not mail_uids: return [TextContent(type="text", text="중요하지 않음 처리할 메일 UID 목록이 필요합니다.")] mail_service.mark_as_unimportant(mail_uids) return [TextContent(type="text", text=f"{len(mail_uids)}개의 메일이 중요하지 않음 상태로 변경되었습니다.")]