joegasewicz / joegasewicz/leadstorefront

Process email with ForestMQ background jobs

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
api feature
Dominant language
Go
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Summary
Handle email delivery through ForestMQ background jobs.

## Context
Use ForestMQ and its Python client to process email jobs asynchronously rather than sending email inline from platform request handlers.

## Scope
- Define email job payloads and queue names.
- Integrate platform code with ForestMQ for enqueueing email jobs.
- Use the ForestMQ Python client for the worker that processes email jobs.
- Select/configure the email provider separately from queue mechanics.
- Add retry, failure logging, and idempotency strategy.
- Cover initial email types such as account/admin emails and storefront-related notifications.

## Acceptance Criteria
- Platform can enqueue email jobs to ForestMQ.
- A Python worker can consume and process email jobs.
- Failed jobs are logged and retry behavior is defined.
- Email provider configuration is documented.
- Sending email does not block user-facing requests.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names platform request handlers, ForestMQ integration, and a Python worker, but no repository files or tests. Start by locating the request-handler and worker entry points, then define the queue and email-job design; done means asynchronous enqueueing and consumption, documented provider configuration, and specified retry, failure logging, and idempotency behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, python
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.