{% if smtp_accounts[smtp_default_account].from is defined %} @{{ ansible_hostname }} {{ smtp_accounts[smtp_default_account].from }} {% endif %}