Gmail Delegation must be allowed for both accounts.
Also, both accounts must have permanent passwords.
The attribute changepassword off.
However, the delegated account must not necessarily ever have been logged into. It's fine to be an unused account. You don't have to log in and accept EULA and stuff.
--
https://wheretofind.me/@NoSubstitute