Skip to content

This pull request introduces a new /resend API endpoint and related infrastructure for sending emails, as well as some minor improvements and housekeeping updates. The most significant changes include adding the Resend API integration, updating the API routing, and enhancing environment variable management.#44

Merged
goldlabelapps merged 2 commits into
masterfrom
staging
Apr 2, 2026

Conversation

@goldlabelapps
Copy link
Copy Markdown
Owner

Resend API integration:

  • Added a new app/api/resend/resend.py file implementing the /resend endpoint, which checks for the RESEND_API_KEY environment variable and returns a status message.
  • Created app/api/resend/__init__.py to expose the Resend router for inclusion in the API.
  • Updated the API routing in app/api/routes.py to include the new Resend router. [1] [2]
  • Added /resend to the root endpoint listing in app/api/root.py.

Environment variable improvements:

  • Added GEMINI_API_KEY and RESEND_API_KEY placeholders to .env.sample to clarify required configuration for email and AI integrations.

Other improvements:

  • Refactored the make_meta utility function to streamline and clarify the metadata structure returned by API endpoints.
  • Bumped the application version from 2.0.4 to 2.0.5 in app/__init__.py.

These changes lay the groundwork for email functionality via the Resend service and improve configuration clarity for future development.

Increment package version to 2.0.5 and update .env.sample to include GEMINI_API_KEY and RESEND_API_KEY for new integrations. Also apply a minor README whitespace/formatting tweak.
Introduce a new /resend route (app/api/resend/resend.py) that returns a basic resend action and verifies RESEND_API_KEY from the environment. Export the router in app/api/resend/__init__.py and register it in app/api/routes.py; also add the resend entry to the root endpoints list in app/api/root.py. Simplify and reformat the metadata structure returned by make_meta (app/utils/make_meta.py) by removing redundant fields and normalizing keys (severity, message, base_url, version, time).
@goldlabelapps goldlabelapps self-assigned this Apr 2, 2026
@goldlabelapps goldlabelapps added this to the Proof of Concept milestone Apr 2, 2026
@github-project-automation github-project-automation Bot moved this to Backlog in Python Apr 2, 2026
@goldlabelapps goldlabelapps merged commit 27361fc into master Apr 2, 2026
2 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Python Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant