# How to Decide Which Altru Record Should Keep a Shared Email Address

> Use Deduper to score Altru records that share one email by name match, date added and sales orders, then export a list of emails to detach in a batch.

Source: https://socialgoodsoftware.com/how-to-automatically-determine-who-the-email-address-belongs-to/
Published: 2021-06-07 · Updated: 2026-11-19

---

[How to automatically determine who the email address belongs to](https://www.youtube.com/watch?v=tBXJsjwHTcg)

When several Blackbaud Altru constituents share the same email address, **Deduper** can work out who the email most likely belongs to. It groups the records by email, scores each one by how well its **first and last name** fit into the address, and adds weight for **older records** and records with **more sales orders**. The best match is marked to keep the email, and the others go on an export you can process as a batch in Altru.

## How the score works

1. **Name match** ([0:31](https://www.youtube.com/watch?v=tBXJsjwHTcg&t=31s)). For each record, Deduper estimates how many characters would have to be inserted to fit the first name and last name into the email address. Fewer insertions means a closer match.
2. **A worked example** ([1:03](https://www.youtube.com/watch?v=tBXJsjwHTcg&t=63s)). Three records (Rick, Ricardo and Richard Hernandez) share an address that starts with *rick*. “Rick” needs no insertions and “Hernandez” needs nine, so Rick scores 9. Ricardo and Richard each need 13, so Rick wins the email.
3. **Weighted values** ([4:33](https://www.youtube.com/watch?v=tBXJsjwHTcg&t=273s)). Older records and records with more sales orders get heavier weight, because those records are statistically more likely to be the right person. The name score and the weights are combined.

## Steps

1. **Build the query** ([3:31](https://www.youtube.com/watch?v=tBXJsjwHTcg&t=211s)). Include the date the constituent was added, first name, last name, email address, a count of sales orders, lookup ID and system record ID for the records that share emails.
2. **Open Settings in Deduper** ([5:06](https://www.youtube.com/watch?v=tBXJsjwHTcg&t=306s)) once the query’s data is in the app. Dedupe on the **email address** so everyone sharing an email is grouped, and choose the **system record ID**.
3. **Set the comparison values** ([5:30](https://www.youtube.com/watch?v=tBXJsjwHTcg&t=330s)). Enable first name and last name and compare them with the email address column.
4. **Set the weighted values** ([5:47](https://www.youtube.com/watch?v=tBXJsjwHTcg&t=347s)), such as date added and sales orders, then click **Save settings**.
5. **Review each group** ([6:15](https://www.youtube.com/watch?v=tBXJsjwHTcg&t=375s)). The record marked **green** is the best guess to keep the email. The one marked **orange** should drop it.
6. **Adjust if the winner looks wrong** ([8:52](https://www.youtube.com/watch?v=tBXJsjwHTcg&t=532s)). Turning settings on or off changes the result, so try the combination that fits your data.
7. **Export the list** ([10:11](https://www.youtube.com/watch?v=tBXJsjwHTcg&t=611s)). Click **Download**, choose the automatic detach option, and **Export to Excel**. Rows marked *Yes* are scheduled to be detached, and you can then remove those emails from Altru as a batch. See [how to remove email addresses from many Altru records at once](https://socialgoodsoftware.com/how-to-batch-process-email-removals-from-altru/).

## Common questions

### What does “insertions” mean here?

It’s the number of characters that would have to be added to fit a name into the email address. A name already inside the address, like “rick” in rick@, needs zero.

### Why do older records and records with more orders get more weight?

In Rick’s experience, an older record with more sales orders is more likely to belong to the real owner of the email.

### Can I change what Deduper compares?

Yes. In the video, comparing only the first name and date added picked a different winner than first name, last name and sales orders ([8:58](https://www.youtube.com/watch?v=tBXJsjwHTcg&t=538s)).

### Does this delete anything in Altru?

No. Deduper gives you an export of the emails to detach. You process that list in Altru yourself. More on [Deduper for Altru](https://socialgoodsoftware.com/features/deduper).

## Video transcript

Hey, this is Rick with Social Good Software. In this short demo I’ll show you how to run the automatic detach system we’ve built. It’s a process we developed to help you determine who an email should belong to, and it’s broken into three steps.

Step one: we compare certain values with other values. In this case we compare the first name and last name with the email address. We’re estimating how many insertions are required for the name to be added into the email address. A quick example will make more sense. Say my name is Rick Hernandez and my email starts with rick at Social Good Software. And say we have a duplicate record with my legal name, Ricardo Hernandez, and another duplicate, Richard Hernandez. Each of these is a different constituent record, and they’re all sharing the same email address. That’s what we’re parsing on.

We check the first name: is it in the email? We can clearly see it is, so no insertions are required. Then the last name: is it in the email? No, so we need nine insertions to get it in there. Next, Ricardo Hernandez. “Ric” is in the email, so this one comes to 13 insertions. Richard is the same, 13 insertions. So the winner here is Rick, and that record is assigned the email. That’s how we calculate who the email should belong to, by comparing the first and last name with the email address.

The other things we can control are when the constituents were added and the number of sales orders attached. In my test query I have a couple of duplicate records. I’m adding when each was first created, the sales orders, the lookup ID, and a count. If we preview, we see when each constituent was created, the first name, last name, email address, the number of orders they placed, and the system record ID. Just like before, we check whether the first and last name belong in the email, and repeat that for each item. Then we apply a weighted average for when the record was first added, so older records get a heavier weight, and records with more orders also get a heavier weight. We know statistically that if your record is older and has more orders, you’re more likely to be the right person. We combine the name check with the date added and the number of sales orders.

Now our data is inside the Deduper app, and I’ll click Settings to set this up. We dedupe on the email address, which groups everybody sharing the same email. Then we choose the system record ID for each person. Then the comparison values: I enable first name and last name, and compare them with the email address column. Click Next, and here are the weighted values. We apply weight to when the record was first added, and to sales orders, so a record with sales orders gets more weight than one without. I click Save settings and it starts searching.

If I click one of these groups, you’ll see one record marked green and one marked orange. Green is our best guess at who should keep the email address, and orange is the one that should drop it. Looking at the data, one was added in 2018 and the other in 2015. Here’s the email address, first name, last name, lookup ID and total orders placed. Doing the math quickly: “Rick” is literally in the email, so that’s zero insertions. “Hernandez” is nine. For sales orders we subtract five, since we’re weighting toward the most sales orders; this one has none, so it gets zero. And the date added gets another five points. This one wins because it’s the older one. Doing the same for the other record and adding everything up, the lower score wins. That’s us applying the algorithm by hand, and it’s how we can adjust how the algorithm runs. The other group runs through the same process.

Back in Settings, we can adjust these things. Say we only want to compare the first name, and use date added instead of total sales orders. Save settings, and we get a different result: it marked a different record as the winner this time, because we’re ignoring sales orders and only taking the date into account. So you can play around with this for whatever makes sense for your data. In my case, first name, last name and total sales orders gives the output I’m looking for. This is the right person to get the email address, and the same for the other group.

Once you’re happy with the output and want to save the results, click Download, choose automatically detach, and click Export to Excel. That builds a report showing the email addresses and the records marked Yes, which are scheduled to be automatically detached. At this point we’re ready to process the entire list as a batch in Altru and detach those emails from the constituent records. If you have any questions about this process, please reach out. We’re always happy to help.

---

Social Good Software adds modern checkouts, timed-ticketing calendars, membership portals, and digital membership cards on top of Blackbaud Altru, without replacing it. Book a 1-on-1 demo: https://socialgoodsoftware.com/demo?src=llms · Call 801-822-0183 · hello@socialgoodsoftware.com · Site summary for AI assistants: https://socialgoodsoftware.com/llms.txt
