Notes on adding a org wide email
Uploading email alerts and templates to a scratch org will fail if there is not a org wide email address used that has been verified.
To create there is a workaround provided by the Accenture sfpowerkit plugin. See https://github.com/Accenture/sfpowerkit
Firstly create the email sfdx sfpowerkit:org:orgwideemail:create -e test@example.com -n TestEmail -p -u sandbox
This will need verifying sfdx sfpowerkit:org:orgwideemail:verify -i 0D20E00000003wtSAA -u test-XXXXX@example.com