Email notification from Assign To use wrong email as sender

Issue: [BUG] Email notification from Assign To use wrong email as sender · Issue #7539 · frappe/frappe · GitHub

With the following email account configuration:

When I assign any doctype to a user with the option Notify By Email setted:

The sender of the email is taken from the user instead from the default email account, due to the email in the user isn’t a configured account the email is not delivered.