You could make NULL from empty string in MySQL:
SELECT coalesce(NULLIF(email, ''), 'user@domain.example') FROM users WHERE id=1000000;
You could make NULL from empty string in MySQL:
SELECT coalesce(NULLIF(email, ''), 'user@domain.example') FROM users WHERE id=1000000;