Skip to content

Add Aubenard Legal V9 email template to enviar_correo_soberano#139

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/update-email-subject-line
Draft

Add Aubenard Legal V9 email template to enviar_correo_soberano#139
Copilot wants to merge 2 commits intomainfrom
copilot/update-email-subject-line

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 8, 2026

The original script for sending the "Estrategia Legal V9" email to Aubenard had hardcoded SMTP credentials, making it unsafe to commit. This PR reimplements that functionality using the repository's existing secure email pattern (env-var credentials).

Changes

  • enviar_correo_soberano.py

    • _SUBJECT_AUBENARD_V9 — subject constant: "ESTRATEGIA LEGAL V9: PROPUESTA DE LICENCIAMIENTO Y ACUERDO AMIGABLE"
    • cuerpo_aubenard_legal_v9() — full three-phase body (acuerdo amigable → propuesta de licenciamiento → acción requerida)
    • --aubenard [EMAIL] CLI flag, defaulting to Contact@aubenard.fr
  • tests/test_enviar_correo_soberano.py — 15 new tests covering subject constant, body content, and dry_run behaviour with/without credentials

Usage

# requires EMAIL_USER + EMAIL_PASS in environment
python3 enviar_correo_soberano.py --aubenard               # → Contact@aubenard.fr
python3 enviar_correo_soberano.py --aubenard other@law.fr  # custom recipient
python3 enviar_correo_soberano.py --aubenard --dry-run      # preview without sending

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tryonyou-app Ready Ready Preview, Comment Apr 8, 2026 11:08pm
tryonyou-pilot Error Error Apr 8, 2026 11:08pm

Request Review

Copilot AI changed the title [WIP] Update email subject line for legal strategy proposal Add Aubenard Legal V9 email template to enviar_correo_soberano Apr 8, 2026
Copilot AI requested a review from LVT-ENG April 8, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants