Let's Get You Set Up

Follow these steps to connect your email to Telegram

1
Welcome
2
Azure
3
Microsoft
4
Bot
5
Group
6
Config
7
Done!

Welcome to SmartReply!

In the next few steps, we'll connect your email account to Telegram. Here's what you'll need:

📋 Checklist

  • Microsoft 365 account - The email you want to monitor
  • Azure access - To create an app registration (we'll guide you)
  • Telegram account - To create a bot and group
  • ~10 minutes - To complete the setup
💡 Don't worry if this seems technical - we'll guide you through each step with screenshots!

Create Azure App Registration

First, we need to register an application in Azure to access your email.

📝 Instructions

  1. Go to Azure App Registrations
  2. Click "New registration"
  3. Enter a name (e.g., "SmartReply")
  4. Select "Accounts in this organizational directory only"
  5. Redirect URI: Select "Web" and enter your callback URL
  6. Click "Register"
  7. Copy the Application (client) ID and Directory (tenant) ID
  8. Go to "Certificates & secrets""New client secret"
  9. Copy the secret value immediately (it won't be shown again)

Connect Your Microsoft Account

Now let's connect to your email account. Click the button below to sign in with Microsoft.

This is the inbox SmartReply will monitor

Create Your Telegram Bot

Let's create a Telegram bot that will deliver your emails.

📝 Instructions

  1. Open Telegram and search for @BotFather
  2. Send /newbot
  3. Choose a name for your bot (e.g., "My Email Bot")
  4. Choose a username ending in "bot" (e.g., "myemail_bot")
  5. Copy the API token BotFather gives you

The token looks like: 1234567890:ABCdefGHIjklMNOpqrSTUvwxYZ

Set Up Your Telegram Group

Now let's create a supergroup where your email threads will appear.

📝 Instructions

  1. In Telegram, create a new group
  2. Go to Group Settings → Edit
  3. Scroll down and enable "Topics"
  4. Add your bot to the group
  5. Make the bot an administrator with "Manage Topics" permission
  6. To get the group ID:
    • Add @userinfobot to the group
    • It will show the group ID (starts with -100)

The ID should start with -100

Final Configuration

Almost done! Let's configure a few settings.

A friendly name to identify this email account

Review & Activate

Here's a summary of your configuration. Click "Activate" to start monitoring!

Email Account

-

Telegram Bot

-

Telegram Group

-

Settings

-

🎉

You're All Set!

SmartReply is now monitoring your inbox. New emails will appear as threads in your Telegram group.

System threads created in your Telegram group
Open Telegram Group →