Adding www. to Domain

Unfortunately - this has somehow broken the emailing system - the site is not sending any emails through mailgun. Might this be because of the forcewww - as the host is now through their server? Or do I need to update mailgun to say www? Lord give me strength.