Mail Action configuration - how to specify a friendly from name

I’ve got the email send working, which is great.

However I am struggling to get the From address to display in a friendly / pretty format. That is, something like From: Home Automation <>

I’ve tried:

mail:from=Home Automation <>
which results in Thunderbird displaying the from address as:
Home Automation <> <>

I also tried:
mail:from="Home Automation <>"
but this resulted in an error.

Can anyone help with this, please?

OK, so I worked this out for myself and thought I’d share in case it helps someone else. The syntax in the mail.cfg file is like this:

from=Friendly Name