Recieving 500 errors from email api when accessing though web portal

Recieving 500 errors from email api when accessing though web portal

Errors shown below in console: