Skip to content
agentusehub

Build a Telegram bot that sends emails and checks calendar

Julian Goldie used Replit's agents and automations feature to build a Telegram bot that sends emails and checks his calendar, taking 28 messages; the feature is in beta and buggy.

Time saved
Not reported
Setup time
Not reported
Running cost
Not reported
Cost range
Not reported

Use case overview

Julian Goldie used Replit's agents and automations feature to build a Telegram bot that sends emails and checks his calendar, taking 28 messages; the feature is in beta and buggy.

Reported experience

  1. What they did

    Opened Replit agents and automations, entered OpenAI key, and connected Outlook via OAuth for email and calendar access. Selected Telegram bot trigger, then exchanged 28 messages describing the desired bot so the agent handled all API setup and code generation automatically before publishing.

  2. How it went

    Produced a working Telegram bot that checked calendar gaps and sent Outlook meeting invites. Beta bugs included no persistent memory in the test playground and occasional formatting errors.

  3. Worth knowing

    Requires own OpenAI API key; beta with bugs like needing a fresh Telegram bot for each deployment.

Example prompts

Try with Replit Agent
Build me a Telegram bot that can send emails from my [email provider] account and check my [Google Calendar or other calendar] for upcoming events when I message it. Only respond to my Telegram user ID [your ID], and before sending any email, show me the recipient, subject and body and wait for me to confirm. When you are done, give me setup steps for the tokens and permissions I need to add, and run a test where I ask it 'what's on my calendar tomorrow?'