# Email Feature Backup

Backup artifact for current email handling implementation.

## Artifact

- `email_feature_backup_20260317_214413.zip`

## Contents

- `app/emails/`
- `app/services/email_service.py`
- `app/services/email_processor_service.py`
- `app/services/email_analysis_service.py`
- `app/services/email_workflow_service.py`
- `app/services/email_activity_logger.py`
- `app/modules/sag/templates/detail.html`
- `migrations/013_email_system.sql`
- `migrations/014_email_workflows.sql`
- `migrations/050_email_activity_log.sql`
- `migrations/056_email_import_method.sql`
- `migrations/084_sag_files_and_emails.sql`
- `migrations/140_email_extracted_vendor_fields.sql`
- `migrations/141_email_threading_headers.sql`

## Restore (code only)

From repository root:

```bash
unzip -o backups/email_feature/email_feature_backup_20260317_214413.zip -d .
```

## Notes

- This restore only replaces code files included in the artifact.
- Database rollback must be handled separately if schema/data has changed.
