# Why Email Designer Turns Off an Altru Email When Its Query Changes

> Why Email Designer disables an email when its Altru query changes, what the alert email says, how to download query history, and the safe way to edit.

Source: https://socialgoodsoftware.com/auto-disable-emails-when-queries-change-in-altru/
Published: 2022-05-25 · Updated: 2026-11-19

---

[Auto disable emails when queries change in Altru](https://www.youtube.com/watch?v=mmioVFZdLZg)

[Email Designer](https://socialgoodsoftware.com/features/email-designer) watches the Altru query behind each email. If the query changes while the email is **enabled**, the email is automatically disabled, the **Activity** tab shows *Email was automatically disabled due to query change*, and an alert email goes out. That gives you time to confirm the change was intended before anyone is emailed twice or by mistake.

## What happens when a query changes

1. **Normal activity** ([0:21](https://www.youtube.com/watch?v=mmioVFZdLZg&t=21s)). In the email’s **Activity** tab, **Request data** pulls the query’s data, and an enabled email keeps sending as usual ([0:57](https://www.youtube.com/watch?v=mmioVFZdLZg&t=57s)).
2. **Someone edits the query** ([1:26](https://www.youtube.com/watch?v=mmioVFZdLZg&t=86s)). In the video, Rick removes the transaction date, but any change to the query counts.
3. **The email is disabled** ([1:57](https://www.youtube.com/watch?v=mmioVFZdLZg&t=117s)). Activity shows the message, and clicking it shows the query’s SQL from Altru. In **Settings**, the email is now off.
4. **An alert email goes out** ([2:29](https://www.youtube.com/watch?v=mmioVFZdLZg&t=149s)). It’s addressed using the email’s from name and sent to its reply-to address. It names the email, links to it online, and includes a short link straight to the query in Altru.
5. **Review and re-enable** ([3:29](https://www.youtube.com/watch?v=mmioVFZdLZg&t=209s)). Check the change in Altru. If it’s correct, enable the email again in Settings. For more on turning sending on, see [how to turn on email automation in Email Designer](https://socialgoodsoftware.com/how-to-enable-email-automation/).

## How to change a query safely

1. **Disable the email** first.
2. **Modify the query** in Altru. While the email is off, you can request data and change the query as much as you like with no alerts ([3:43](https://www.youtube.com/watch?v=mmioVFZdLZg&t=223s)).
3. **Enable the email** again once you’re happy with the query ([7:34](https://www.youtube.com/watch?v=mmioVFZdLZg&t=454s)).

If you leave the email enabled while you edit, you’ll keep getting alerts and the email will keep being turned off.

## Query history

Under **Query history** ([4:32](https://www.youtube.com/watch?v=mmioVFZdLZg&t=272s)) you can download a CSV or Excel file listing each detected change: the date it was detected, a unique ID, the hash value that was compared, and the full SQL. Compare the SQL between rows to see exactly what changed and when.

## Common questions

### Why was my email turned off?

Its Altru query changed while the email was enabled. It’s a safety precaution so a changed query can’t email the wrong people or the same person more than once.

### Who gets the alert?

In the video, the alert is addressed with the email’s from name and sent to its reply-to address.

### Does it matter what kind of change I make?

No. Rick says this applies to any change to the query, not just removing a field.

### How do I avoid the alert?

Disable the email before editing the query, then enable it again afterward.

### Can I see who changed what?

The query history file shows when each change was detected and the SQL at each point. To check which emails use a query before editing it, see [how to see where a query is used in Altru](https://socialgoodsoftware.com/see-where-query-used-altru/).

## Video transcript

Hey, this is Rick with Social Good Software. In this guide I’ll walk through how and when emails get disabled automatically on your behalf.

I’ll go into this email, head over to Activity, and click Request data. It finishes, and there’s nothing interesting to see: we’re just requesting data. You can request data again and it keeps requesting it, just like you’re used to.

Now say you enable this email and start requesting data with the email enabled. Just as before, it downloads that data for you, and it continues to request data and send your emails. Everything works the same way: sending emails, storing data, all that fun stuff.

In Settings you can see the email is enabled. But say somebody on your team modifies the query. Here’s my query, and I remove the transaction date. This applies to any change you make to the query, not just the transaction date. Request data again, and remember, the query has changed. You can see it says “Email was automatically disabled due to query change.” If you click it, you get all of the SQL that was in your query from Altru. An email also goes out letting you know the query changed. Back in Settings, you’ll see the email has been automatically disabled to prevent any emails from going out due to that change.

Here’s the alert email. It’s addressed to the from name, and it goes to the reply-to address. It says, “Hello, we noticed the query for the following email,” then the name of the email, here E-tickets. You can access the email online with the link, which brings you back to this email. “We automatically disabled this email in order to verify the changes you made to the query are the ones you intended. As a safety precaution, go to Altru and verify the changes are correct before enabling the email again.” There’s a short link that takes you directly to the query in Altru so you can verify the changes. Once you’ve reviewed and approved the query, you can enable the email again. It also says that to prevent this message in the future, disable your emails first before you make changes to the query. Then you won’t get this alert, and you can make as many changes as you like.

Back here, the email is currently disabled. Let me add the transaction date back. In Activity I can still request data, and no alerts go out. I can keep requesting data, modify the query, pretty much anything I want, and no alerts go out, because all the changes are on an email that’s currently off.

The last part: if you want to see the history of everything that changed in the query, we give you a history file. Down here under Query history, you can download it as a CSV or an Excel file. I’ll download the Excel file. It tells you the date the change was detected in the query, and you can see I have a bunch of changes. It also shows the ID, a unique identifier for that entry, and the hash value we compare, and you can see each one is different from the last. Finally, if you want to see the SQL itself, it’s inside the cell, so you can compare one version of the SQL with another in Excel.

So that’s pretty much all there is to this. It prevents mistakes with queries that could end up emailing the same person multiple times. That’s one of the reasons we added this update. If someone on your team changes or deletes a query, or something happens to it, the safety mechanism of turning off the email prevents those issues. It turns off the email so you have time to review the query changes, it notifies you of the change and which email it affects, and you can view the history of SQL changes in an Excel or CSV file. A lot of our customers requested this, because multiple people edit those queries and sometimes they don’t edit them the way they’re supposed to. Now everybody can see the history of those changes.

Here’s our recommendation. Step one, disable the email. Step two, modify the query. Step three, enable the email. You can make any changes you need to the query, but disable the email first, modify the query, then enable it. If you keep the email enabled, you’ll keep getting those alerts and the email will keep getting turned off. So take the time to disable it, modify it, and enable it once you’ve made your changes.

Once again, this is Rick from Social Good Software. Hopefully you found this video helpful. If something wasn’t clearly explained or you have additional questions, please share your thoughts on the feedback page on our website. 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
