email-system

Configures Mailjet email templates and trigger points for order and auth notifications.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/yunior123/origna_gta_firebase --skill email-system-yunior123
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: email-system
Source: https://github.com/yunior123/origna_gta_firebase/tree/main/.claude/skills/email-system
Command: npx skills add https://github.com/yunior123/origna_gta_firebase --skill email-system-yunior123

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers working on transactional emails in the OrignaGTA marketplace need a single reference for how Mailjet is configured, which email functions exist, and when each notification fires, avoiding guesswork across a 733-line service file. ## Core Features & Use Cases - Configuration Reference: Documents the sender address, Mailjet provider setup, the FORCE_REAL_EMAIL environment variable, and the APP_BASE_URL emulator/production switch. - Trigger Mapping: Maps each email function (order confirmation, seller notification, capture failure, 3DS authentication, authorization expired) to its exact trigger point. - Template Design System: Specifies the ORIGNA brand gradient, order status tracker, glassmorphism price summary, and responsive CTA button patterns used across templates. - Use Case: When adding a new order notification, consult this Skill to find the correct function in functions/services/email_service.py, match the existing template design system, and test real sends in the emulator. ## Quick Start Ask the AI to add a new order status email using the email-system reference and test it with FORCE_REAL_EMAIL enabled in the emulator.

Frequently Asked Questions about email-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send transactional emails with Mailjet in Firebase Functions?▼

Use the send_email() function in functions/services/email_service.py, which wraps the Mailjet API for real sends. Set FORCE_REAL_EMAIL=true in functions/.env to send real emails while running in the emulator.

How do I test real email sends in the Firebase emulator?▼

Set the FORCE_REAL_EMAIL=true environment variable in functions/.env before starting the emulator. Without it, email sends are suppressed in the local environment.

What triggers order confirmation and seller notification emails?▼

get_order_confirmation_email() fires for buyer order confirmations, and get_seller_notification_email() fires when a seller receives a new order. Both are sent through the core send_email() Mailjet function.

How does APP_BASE_URL change between emulator and production?▼

APP_BASE_URL is set to http://localhost:8888 when IS_EMULATOR is true and https://orignagta.ca in production. This controls the links embedded in email templates.

What design system do the email templates use?▼

Templates use a gradient hero (#1F235A to #2F3B8F to #764BA2), ORIGNA branding, an order status tracker with progress bar, glassmorphism price summary, pill-shaped CTA buttons, and responsive layout.