{"id":30670569,"url":"https://github.com/renanbreier/java-email-sender","last_synced_at":"2026-05-03T15:35:09.282Z","repository":{"id":311285221,"uuid":"1043359890","full_name":"renanbreier/Java-Email-Sender","owner":"renanbreier","description":"A Spring Boot project for sending emails with Amazon SES, inspired by a technical challenge from Uber. Built with Clean Code principles and secure integration with AWS.","archived":false,"fork":false,"pushed_at":"2025-08-23T17:45:18.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-01T02:38:06.738Z","etag":null,"topics":["api-rest","aws","clean-architecture","java","maven","ses","spring"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/renanbreier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-23T17:29:30.000Z","updated_at":"2025-08-30T19:27:55.000Z","dependencies_parsed_at":"2025-09-01T02:18:04.291Z","dependency_job_id":"f1baca74-f7d1-4b9c-beec-cde1cac5bf75","html_url":"https://github.com/renanbreier/Java-Email-Sender","commit_stats":null,"previous_names":["renanbreier/email-sender"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/renanbreier/Java-Email-Sender","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanbreier%2FJava-Email-Sender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanbreier%2FJava-Email-Sender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanbreier%2FJava-Email-Sender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanbreier%2FJava-Email-Sender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renanbreier","download_url":"https://codeload.github.com/renanbreier/Java-Email-Sender/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanbreier%2FJava-Email-Sender/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32575112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-rest","aws","clean-architecture","java","maven","ses","spring"],"created_at":"2025-09-01T02:12:08.918Z","updated_at":"2026-05-03T15:35:09.268Z","avatar_url":"https://github.com/renanbreier.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📧 Java Email Sender with Amazon SES\n\nThis project is a **Spring Boot application** that integrates with **Amazon Simple Email Service (SES)** to send emails reliably and securely.  \nIt demonstrates how to configure AWS SDK in a Spring application and send transactional or notification emails via Amazon SES.\n\n---\n\n## 🚀 Features\n- Send emails using **Amazon SES**\n- Integration with **Spring Boot** and **AWS SDK**\n- Configurable via **environment variables** (no credentials in code)\n- Follows **Clean Code principles** for better readability and maintainability\n- Secure development with **GitHub Push Protection**\n\n---\n\n## 🛠️ Technologies Used\n- **Java 17+**\n- **Spring Boot**\n- **AWS SDK for Java (SES)**\n- **Maven**\n\n---\n\n## ⚙️ Configuration\n\nBefore running the project, make sure you have:\n\n1. **AWS Account** with Amazon SES enabled  \n2. **Verified sender email address** in SES  \n3. **Access Key \u0026 Secret Key** from AWS IAM (with SES permissions)  \n\n### Set your AWS credentials\nThe application uses environment variables (or `~/.aws/credentials`) for security.  \nExport them in your shell:\n\n```bash\nexport AWS_ACCESS_KEY_ID=your_access_key\nexport AWS_SECRET_ACCESS_KEY=your_secret_key\nexport AWS_REGION=us-east-1\n```\n\nOr configure in `~/.aws/credentials`:\n\n```ini\n[default]\naws_access_key_id=your_access_key\naws_secret_access_key=your_secret_key\nregion=us-east-1\n```\n\n---\n\n## ▶️ Running the Application\n\nClone the repository:\n\n```bash\ngit clone https://github.com/renanbreier/Java-Email-Sender.git\ncd Java-Email-Sender\n```\n\nBuild and run with Maven:\n\n```bash\nmvn spring-boot:run\n```\n\n---\n\n## ✉️ Sending an Email\n\nOnce the application is running, you can trigger the email sending service by calling the method in your code or exposing an endpoint (/api/email).\n\nExample (inside your service):\n\n```java\nsesClient.sendEmail(new SendEmailRequest()\n    .withDestination(new Destination().withToAddresses(\"recipient@example.com\"))\n    .withMessage(new Message()\n        .withSubject(new Content(\"Test Email from SES\"))\n        .withBody(new Body().withText(new Content(\"Hello, this is a test email.\"))))\n    .withSource(\"your_verified_email@example.com\"));\n```\n\n---\n\n## 📌 Notes\n- Make sure the **sender email address is verified** in Amazon SES.  \n- In **sandbox mode**, SES only allows sending to verified addresses. To lift restrictions, request production access in AWS.  \n- This project follows **Clean Code practices** such as meaningful names, small methods, separation of concerns, and proper package structure.\n\n---\n\n## 📝 Author\nRenan Breier.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenanbreier%2Fjava-email-sender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenanbreier%2Fjava-email-sender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenanbreier%2Fjava-email-sender/lists"}