Skip to content

Tombstone pipeline - Add option to send unaffiliated email #32437

Closed
2 of 2 issues completed
Closed

Description

@argush3

As a part of the upcoming corp migrations using the simplified account creation flow, in addition to migrating businesses, we will also need to do some auth related operations.

The auth related operations will include:

  • Create auth entity (functionality already exists in tombstone pipeline)
  • Create business contact email for auth entity (functionality already exists in tombstone pipeline)
  • Send unaffiliated email invitation to business contact email (functionality does not exist in tombstone pipeline)

The work in this ticket is to add a config to the tombstone pipeline that will allow sending of an unaffiliated email to the business contact email after a business is migrated.

Tasks

  • Add SEND_UNAFFILIATED_EMAIL config.
  • if SEND_UNAFFILIATED_EMAIL is True, add an auth api call to POST affiliationInvitation/unaffiliated/string:business_identifier. Note that this will need to be after auth entity and business contact email endpoints are invoked. For testing in dev/test, make sure to override contact email(USE_CUSTOM_CONTACT_EMAIL=True, CUSTOM_CONTACT_EMAIL=) so you can see the unaffiliated invite email.
  • Throw an exception if there is no business contact email but SEND_UNAFFILIATED_EMAIL is set to True
  • Verify that an email is received at the business contact email when SEND_UNAFFILIATED_EMAIL is set to True
  • Verify if the delete flow works for businesses that are migrated with SEND_UNAFFILIATED_EMAIL is True successfully. If it doesn’t work, cut a ticket to get the delete flow updated so we are able to delete businesses and respective auth data successfully.

Example unaffiliated email:
image.png

Sub-issues

Sub-issues

2 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added
    Entities - Data Migration
    on Feb 12, 2026
  2. changed the title [-]Tombstone pipeline - update to support new auth endpoint[/-] [+]Tombstone pipeline - Add option to send unaffiliated email[/+] on Feb 13, 2026
  3. argush3 commented on Feb 13, 2026

    @argush3
    ContributorAuthor
  4. self-assigned this
    on Feb 18, 2026
  5. Rajandeep98 commented on Feb 19, 2026

    @Rajandeep98
    Collaborator

    To Test:
    Ask myself or any dev to run pipeline with below settings:
    config SEND_UNAFFILIATED_EMAIL is On - Test: See Email in Inbox
    config SEND_UNAFFILIATED_EMAIL is False - No Email but migrated
    config SEND_UNAFFILIATED_EMAIL is True and email is null - throw error - No email Not Migrated
    config SEND_UNAFFILIATED_EMAIL is True and config AFFILIATE_ENTITY is True- throw error - No email Not Migrated

  6. vishnup0422 commented on Feb 25, 2026

    @vishnup0422
    Collaborator

    QA Validations :

    You are receiving this email because SIMIC CONSULTING INC. – DEVELOPER_BATCH_4_IMPORT_TEST (BC0931179) has been registered with BC Registries.

    You are receiving this email because CHJL ARCHITECT INC. – DEVELOPER_BATCH_4_IMPORT_TEST (BC1376571) has been registered with BC Registries.

    You are receiving this email because FOREST KIDS EDUCATION INC. – DEVELOPER_BATCH_4_IMPORT_TEST (BC1396162) has been registered with BC Registries

    image.png

  7. argush3 commented on Feb 26, 2026

    @argush3
    ContributorAuthor

    @vishnup0422 I don't think this is the email that we are looking for. This is the AR reminder. We are looking for the unaffiliated email invite. Can you confirm you got it?

  8. vishnup0422 commented on Feb 26, 2026

    @vishnup0422
    Collaborator

    Hello @argush3, Yes, I have received the email
    Can you confirm this is the one we are looking for
    image.png

  9. argush3 commented on Feb 26, 2026

    @argush3
    ContributorAuthor

    yes, looks good. thanks for confirming. i'll close this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Entities - Data Migration

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions