Google Mail - Send Mail As Alias

Hi Guys,

I have an alias on my account that I’m using for Google Mail Oauth. I can send as those addresses from within gmail, but I’m getting an Unknown Error for the action.

Example Action:

action: notify.name_domain_com
data:
message: Testing Sending
title: Test Message From Home Assistant
target: [email protected]
data:
from: [email protected]

From the debug log it states:

“…HttpError 403 …/messages/send?alt=json returned “Delegation denied for [email protected]”. Details: “[{‘message’: ‘Delegation denied for [email protected]’, ‘domain’: ‘global’, ‘reason’: ‘forbidden’}]”>”

The account is delegated as I understand as it can send messages as the alias.
Anyone got this working?

Thanks,