Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Email Generator

AI Email Generator is a web application built with Flask and Google Gemini AI that helps users generate professional emails quickly and efficiently. Simply enter the recipient, email type, tone, and purpose, and the application generates a well-structured email instantly.


Features

  • AI-powered email generation using Google Gemini API
  • Generate professional and well-formatted emails
  • Multiple email types and writing tones
  • Simple and user-friendly interface
  • Secure API key management using .env
  • Fast response with Flask backend

Tech Stack

  • Python
  • Flask
  • Google Gemini API
  • HTML
  • CSS
  • JavaScript
  • Python Dotenv

Project Structure

AI-Email-Generator/
│
├── static/
│   ├── style.css
│   └── script.js
│
├── templates/
│   └── index.html
│
├── app.py
├── requirements.txt
├── Procfile
├── .gitignore
└── README.md

Installation

Clone the repository

git clone https://github.com/Sachin-kumar01/AI-Email-Generator.git

Navigate to the project folder

cd AI-Email-Generator

Create a virtual environment

python -m venv venv

Activate the virtual environment

Windows

venv\Scripts\activate

Linux/macOS

source venv/bin/activate

Install dependencies

pip install -r requirements.txt

Create a .env file

GEMINI_API_KEY=YOUR_API_KEY

Run the application

python app.py

Open your browser and visit:

http://127.0.0.1:5000

Deployment

The application can be deployed on platform :

  • Render

Contributing

Contributions are welcome. Feel free to fork the repository, make improvements, and submit a pull request.


Author

Sachin Kumar

GitHub: https://github.com/Sachin-kumar01


License

This project is intended for educational and learning purposes.

About

AI-powered email generator built with Flask and Google Gemini API.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages