Hosted Target Issue getting 500 internal server error

I am trying to connect to SMTP sever for sending Email, and using hosted target call.

mail is sent, but the response is 500 server error, like somewhere its getting stuck.

In runtime logs its showing "npm update check failed ".

where proxy response:

<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>500 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered an error and could not complete your request.<p>Please try again in 30 seconds.</h2>
<h2></h2>
</body></html>
0 1 370
1 REPLY 1

Please provide more info. Description is on very high level.

Here is the way to debug -

- Deploy your hosted target app on your local system.

- Get some mail tester on local

- Put the debugger on your code

- Hit your local API endpoints

Check your code output on local.