# Yandex Mail

> |

- **Type:** Skill
- **Install:** `agentstack add skill-atomachinskiy-claude-yandex-skills-yandex-mail`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [atomachinskiy](https://agentstack.voostack.com/s/atomachinskiy)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [atomachinskiy](https://github.com/atomachinskiy)
- **Source:** https://github.com/atomachinskiy/claude-yandex-skills/tree/main/plugins/yandex-mail/skills/yandex-mail

## Install

```sh
agentstack add skill-atomachinskiy-claude-yandex-skills-yandex-mail
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# yandex-mail

IMAP/SMTP клиент через XOAUTH2. Использует общий токен из `yandex-auth` как Bearer вместо пароля.

## Активация

⚠️ **Требует двух предварительных шагов:**

1. **Scope `mail:imap_full`** должен быть включён в OAuth-app «Я-Клауд-Клиентс». Если нет — добавить в кабинете oauth.yandex.ru, перевыпустить токен через `yandex-auth/oauth-flow.sh`.
2. **IMAP-доступ должен быть разрешён** в настройках Яндекс.Почты:
   https://mail.yandex.ru/?uid=...#setup/client → «С сервера imap.yandex.ru по протоколу IMAP» → включить.

Пока эти два шага не сделаны — скрипты возвращают `[UNAVAILABLE] AUTHENTICATE internal server error`.

## Скрипты

| Скрипт | Назначение |
|---|---|
| `list-folders.sh` | Все IMAP-папки в почтовом ящике |
| `inbox-count.sh` | Количество писем в INBOX (всего + непрочитанные) |

## Технические заметки

- Сервер: `imap.yandex.ru:993` (TLS)
- Auth: SASL XOAUTH2 (`user=\x01auth=Bearer \x01\x01` → base64)
- Реализация — Python 3 stdlib (imaplib, base64), без внешних зависимостей
- Email-форма: автоматически добавляется `@yandex.ru` если в логине нет `@`

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [atomachinskiy](https://github.com/atomachinskiy)
- **Source:** [atomachinskiy/claude-yandex-skills](https://github.com/atomachinskiy/claude-yandex-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-atomachinskiy-claude-yandex-skills-yandex-mail
- Seller: https://agentstack.voostack.com/s/atomachinskiy
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
