Move Dapier email receiving and sending to Relay
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
Start with src/dapier/connectors/ingress.py, scripts/deploy.sh, and template.yaml, then read Relay's worker-contracts.md. Trace the outbound callers listed in the issue, including email_send, notifications, reports, and backup.py. Done means inbound and outbound workflows, authentication, feedback handling, configuration, tests, and documented rollback all pass end-to-end before Datamailer and direct SES paths are removed.
索引モデルが issue の本文から書いたものです。
説明
Goal
Move Dapier's email receiving and sending paths to Relay. Datamailer is the current integration used for the first [email protected] experiment, not the intended long-term service. Keep existing email workflows working throughout the cutover.
Current dependencies
- Inbound mail arrives via Datamailer's SNS topic and private S3 bucket, configured in
scripts/deploy.shandtemplate.yaml.src/dapier/connectors/ingress.pynormalizes theinbound-emailevent. - Dapier currently expects the inbound event to contain inline
bodyandattachments;[email protected]inserts{body.text.value}into its headless-agent prompt. Relay's current contract instead publishesinbound_message_idand araw_mimereference, with bodies and attachments stored privately. - Outbound paths include the
email_sendaction, workflow failure notifications, alarms/error digests, headless-task completion reports, and backup failure mail. Most call SES directly;src/dapier/backup.pycalls Datamailer's transactional API. - Email sender allow-list, reserved addresses, invoice/todo routes, SES bounce/complaint events, and the Console/CLI management surfaces also need to keep working.
Work
- Decide the Relay-to-Dapier inbound delivery and authentication contract. Provision Relay receiving addresses and move the SES receipt path, preserving current addresses and routes.
- Adapt Dapier's inbound normalizer and securely retrieve body text, raw MIME, and attachments from Relay's stored message. Preserve idempotency, replay, retention, and sender filtering. Require trustworthy sender authentication before allowing email to start an unrestricted headless agent.
- Move applicable outbound mail to Relay's transactional API. Close any gaps needed for attachments, HTML, reply threading, idempotency, delivery status, and SES feedback before switching each caller.
- Update configuration, IAM, tests, docs, and API/CLI/Console parity. Remove Datamailer-specific configuration and obsolete direct SES paths after their replacements are live.
- Test real inbound mail through
[email protected](including a Zoom link), invoice/todo flows, completion reports, other notifications, and bounce/complaint handling. Cut over with a rollback path, then verify delivery and queue health.
This is a follow-up issue; the current mail route should remain operational until the Relay path passes the end-to-end checks.
- 主要言語
- Python
- スター
- 0
- フォーク
- 0
- 平均マージ
- 6分
- マージ済み PR(30日)
- 10
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DataTalksClub/dapier のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
DataTalksClub/dapier#22 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
DataTalksClub/dapier#9 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
DataTalksClub/dapier の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
SpikeInterface/spikeinterface#4924 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
aws-samples/sample-per-model-bedrock#782 ·
メンテナーはふだん 1 日以内に返信
-
bug javascript
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
No-op PreToolUse:Bash hook (bash_hook.py) still registered synchronously; adds latency and can time out at 10 s対応中かも @alexgr-agent が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
alexgreensh/token-optimizer#313 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100