# Channels

> Set up Telegram, email, Discord, and other ways to communicate with your agent.


# Channels

Channels are how you communicate with your agent. Set them up from the **Channels** page.

## Telegram (Recommended)

The easiest way to talk to your agent from anywhere — your phone, desktop, or car.

### Setup
1. Open Telegram and message [@BotFather](https://t.me/BotFather)
2. Send `/newbot` and follow the prompts to create your bot
3. Copy the bot token BotFather gives you
4. In easyClaw, go to **Channels** → **Telegram** → **Configure**
5. Paste the token and enter your Telegram user ID
6. Click Save

### Finding Your Telegram User ID
Send a message to [@userinfobot](https://t.me/userinfobot) on Telegram — it will reply with your ID.

### Security
Your bot only responds to your Telegram user ID. Other people messaging your bot will be ignored.

## Email

Your agent can check an email inbox on a schedule and process incoming messages.

### Supported Providers
- **easyMail** — auto-configured (just enter email + password)
- **Gmail** — auto-configured (requires an [App Password](https://myaccount.google.com/apppasswords))
- **Custom IMAP** — any provider with IMAP/SMTP access

### Email Processing Rules
When email is configured, an `EMAIL.md` file is created in your agent's workspace. Edit this file to define rules:

```
From newsletters@example.com → ignore
From boss@company.com → alert owner immediately
From billing@* with subject "Invoice" → summarize and alert owner
```

### Poll Interval
Set how often your agent checks for new mail (default: every 15 minutes).

## Discord

Connect your agent to a Discord server. Requires a Discord bot token.

## Mattermost

For self-hosted team chat. Configure the server URL and bot token.

## Direct API

Access your agent via API calls for custom integrations.

---
_Canonical: https://easynode.ai/docs/channels/index.md_
