Email Generator is a web application that helps users create personalized emails based on a company's website content and the user's LinkedIn profile. It uses AI to generate contextually relevant emails for various purposes such as job applications, networking, or business proposals.
- Scrapes content from a given company website to provide context
- Uses the LinkedIn URL to personalize the email (without scraping LinkedIn directly)
- Supports multiple reasons for reaching out (hiring, funding, selling)
- Generates a well-structured, personalized email using AI
- Frontend: React.js with custom CSS
- Backend: Node.js with Express
- Web Scraping: Cheerio
- AI Integration: Anthropic's Claude API
Before you begin, ensure you have met the following requirements:
- Node.js (v14 or later)
- npm (usually comes with Node.js)
- An Anthropic API key
-
Clone the repository:
git clone https://github.com/yourusername/email-generator.git cd email-generator
-
Install the dependencies for both frontend and backend:
npm install cd client npm install cd ..
-
Create a
.env
file in the root directory and add your Anthropic API key:ANTHROPIC_API_KEY=your_api_key_here
-
Start the backend server:
node server.js
-
In a new terminal, start the React frontend:
cd client npm start
-
Open your browser and navigate to
http://localhost:3000
-
Enter the required information:
- LinkedIn profile URL
- Company website URL
- Reason for reaching out
-
Click "Generate Email" and wait for the AI to create your personalized email
Contributions to the Email Generator project are welcome. Please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature/AmazingFeature
) - Make your changes
- Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Your Name - [email protected]
Project Link: https://github.com/yourusername/email-generator