Fetches email, email subscription status and user ID for users whose details have been updated after their marketing consent was last synced to Mailchimp
Fetches all user marketing consents with detailed user information for a specific course language group, if they haven’t been synced to Mailchimp or if there have been updates since the last sync.
Used to update the synced_to_mailchimp_at to a list of users when they are successfully synced to mailchimp
Updates user consents to false in bulk using Mailchimp data.
Used to add the user_mailchimp_ids to a list of new users when they are successfully synced to mailchimp