This is a simple Next.js web app that allows users to reject the 2025 Kenyan Finance Bill with one click — or customize the message in their own words.
- One-click letter rejection system
- Editable message text
- Sends email using Gmail SMTP
- Simple and fast setup
git clone https://github.com/SiroDaves/RejectFinanceBill2025.git
cd RejectFinanceBill2025Make sure you have Node.js installed (preferably version 18+), then run:
npm install
# or
yarn installThis app uses Gmail to send emails. For security, you must enable 2-Factor Authentication (2FA) on your Gmail account and create an App Password.
-
Go to Google Account Settings.
-
Navigate to Security.
-
Under "Signing in to Google", enable 2-Step Verification if it’s not already enabled.
-
After enabling, you’ll see an option called App passwords — click it.
-
Generate a new app password:
- Select App: "Mail"
- Select Device: Choose "Other" and name it something like
FinanceBillApp - Google will give you a 16-character password. Copy it.
Copy a .env.example and rename it to .env.local file in the root of the project:
EMAIL_PASSKEY=your-email@gmail.com
EMAIL_ADDRESS=your-app-password
RECIPIENT_EMAIL=the-recipient-email
NEXT_PUBLIC_APP_URL=http://localhost:3000
⚠️ Never commit.env.localto version control!
npm run dev
# or
yarn devVisit http://localhost:3000 in your browser to start using the app.
Pull requests are welcome! For major changes, please open an issue first to discuss what you'd like to change.
MIT License