Skip to content

MailBot is an AI-powered chatbot application that allows users to interact with AI, save conversation history, and send scheduled or immediate emails based on chat content. It is built with Express.js, integrates with Gemini for generating responses, and supports user session management.

Notifications You must be signed in to change notification settings

Nasreena847/MailBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MailBot

MailBot is an AI-powered chatbot application that allows users to interact with AI, save conversation history, and send scheduled or immediate emails based on chat content. It is built with Express.js, integrates with Gemini for generating responses, and supports user session management.

Description of the image

Features

  • AI-Powered Conversations: Users can interact with an AI model to ask questions and receive detailed responses.
  • Conversation History: Users' conversation histories are saved, allowing them to revisit past interactions.
  • Email Integration: Users can send or schedule emails directly from the conversation history.
  • Session Management: User sessions are maintained, so they can continue where they left off.
  • Dynamic Conversation Naming: Conversations are automatically named based on the content.

Technologies Used

  • Express.js: Backend framework for building the server and managing routes.
  • Gemini API: Utilized for generating AI responses.
  • MongoDB: Database for storing user data and conversation history.
  • Node.js: Server-side JavaScript runtime.
  • EJS: Embedded JavaScript templating for generating dynamic HTML.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/mailbot.git
    
  2. Navigate to the project directory:

    cd mailbot
    
  3. Create a .env file in the root directory and add the following variables:

    OPENAI_API_KEY=your-openai-api-key
    NYLAS_API_KEY=your-nylas-api-key
    NYLAS_URI=your-nylas-uri
    NYLAS_EMAIL_API_KEY=nylas_email_api_key
    
  4. Start the server:

     nodemon app.js
    

OR

    node app.js

About

MailBot is an AI-powered chatbot application that allows users to interact with AI, save conversation history, and send scheduled or immediate emails based on chat content. It is built with Express.js, integrates with Gemini for generating responses, and supports user session management.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published