Situation: You're building an email integration. When Gmail returns an error, users see "[object Object]" instead of useful information.
Task: Fix the error handler to display the actual error message.
The ActionResult type has an `error` field. Run the code and observe what `console.log(result.error)` outputs.