remove print
add a fqdn as the local domain, always
refactor callbacks so we properly catch remote errors
add changes
use deferToThread in the sendMail. Closes: #3937
Merge remote-tracking branch 'kali/bug/fix-fqdn' into develop