ferrero-opentext/Python-Version/scripts/shared
DJP 1081cfd9ca Add 'no assets found' email notifications for A1→A2 and B1→B2
Ensures all workflows send email notifications even when no assets are found.

NEW EMAIL TEMPLATES:
1. a1_to_a2_no_assets - Warns when A1 campaign has no master assets
2. b1_to_b2_no_assets - Warns when B1 campaign has no global master assets

Both templates use orange warning theme and explain:
- Campaign is set to A1/B1 but no assets found
- Status NOT updated (remains at current status)
- Script will retry on next run
- Suggests verifying assets exist in folder

Changes:
- a1_to_a2_download.py: Send email when total_assets == 0
- b1_to_b2_download.py: Send email when total_assets == 0
- notifier.py: Add 2 new warning templates

This completes email coverage for all scenarios:
✓ Success (all assets processed)
✓ Partial (some failed)
✓ No assets found (campaign empty)
✓ No rejections (A5→A6 specific)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 15:33:25 -05:00
..
__pycache__ Add HANDOFF_NEXT_SESSION.md - Complete session handoff document 2025-11-04 12:30:36 -05:00
__init__.py Start Python automation - Foundation components 2025-10-30 16:38:26 -04:00
box_client.py Add recursive folder search, NOT APPROVED filtering, and rejection details for A5→A6 2025-11-04 14:49:19 -05:00
config_loader.py Start Python automation - Foundation components 2025-10-30 16:38:26 -04:00
dam_client.py Add recursive folder search, NOT APPROVED filtering, and rejection details for A5→A6 2025-11-04 14:49:19 -05:00
database.py Add A5→A6 rework workflow automation (Python) 2025-11-04 13:36:35 -05:00
filename_parser.py Complete Python automation implementation - All components built 2025-10-30 16:49:14 -04:00
metadata_extractor_mvp.py Add Box metadata extraction for CreativeX fields in A2→A3 workflow 2025-11-03 14:26:00 -05:00
notifier.py Add 'no assets found' email notifications for A1→A2 and B1→B2 2025-11-04 15:33:25 -05:00