This Apps Script is intended for Google Workspace domain administrators who want to manage user email aliases directly from a Google Sheet.
1. Add Aliases
2. List Aliases
3. Remove Alias
Required APIs: Admin SDK Directory API (Advanced Google Service)
To get going, copy this sheet and then open it.
Make sure you have added the username for the users in column A.
From the alias menu choose List Aliases. The first time you will need to authenticate with your super admin privileged account. In column C you add aliases that needs to be added or removed. Listed aliases will end up in column D.