Solved here: Document and link in auto email is sitename not domain name - #6 by totalys
Thank you guys.