The missions list is built by combining data from two sources: Core mission data fetched from external Portal server via plugin/mission/index API endpoint: uuid - Unique mission identifier invoice_id - Foreign key to local invoice type - Original mission type from server status - Current mission status (active, completed, cancelled, missed) reminder_rules - Array of days before due date (e.g., [14, 7, 1]) reminders_sent - Array of already-sent reminder timestamps overdue_interval - Days between overdue sends (e.g., 3 days) overdue_sent_count - Number of overdue emails already sent overdue_stop_after_count - Maximum overdue emails before stopping overdue_stop_after_days - Maximum days after due date before stopping reminder_send_time - Time of day to send reminders (HH:mm:ss)