Refactor user activation

for mail sending purposes.
Nope. Like the name implies, this function only applies to inserted datasets.