ferrero-opentext/Python-Version/scripts
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
..
shared Add 'no assets found' email notifications for A1→A2 and B1→B2 2025-11-04 15:33:25 -05:00
a1_to_a2_download.py Add 'no assets found' email notifications for A1→A2 and B1→B2 2025-11-04 15:33:25 -05:00
a2_to_a3_upload.py Complete Python automation implementation - All components built 2025-10-30 16:49:14 -04:00
a2_to_a3_upload_polling.py Add Box metadata extraction for CreativeX fields in A2→A3 workflow 2025-11-03 14:26:00 -05:00
a5_to_a6_download.py Fix A5→A6 Final Assets search and unify email template styling 2025-11-04 15:25:30 -05:00
b1_to_b2_download.py Add 'no assets found' email notifications for A1→A2 and B1→B2 2025-11-04 15:33:25 -05:00
test_connection.py Complete Python automation implementation - All components built 2025-10-30 16:49:14 -04:00