Send Email on Error

Created by Rico Stodt, Modified on Mon, 7 Feb, 2022 at 1:46 PM by Rico Stodt

This page provides a tutorial of how to send an email on error.



The email on error feature allows a remote user\supervisor to receive an email with the workspace snapshot from the head camera when the robot stops on error. This tutorial shows an example of using the workspace snapshot with the catch error node and a gmail account.


Test with GMAIL Account

  • Ensure that the outside port(1) of the robot is connected to a network with internet.

Sawyer Controller Ethernet Ports v5.3.png

  • Select send email and save locally option in the Head camera behavior on error settings.


Send Email on Error Settings.jpeg

Note: If you use a Gmail account as was done in this example, you need to configure it to allow less secure apps. Please make sure to also enable the required functionality by completing the "Captcha Enable" challenge. Without this, less secure connections probably would not work.

Send Email on Error Example.png

  • Run the task.
    • The task execution would follow this sequence:
      • Throws an error.
      • The head turns toward the active endpoint.
      • The head camera takes a picture.
      • Sawyer sends the picture to the user over an email, the snapshot can also be seen in the workspace snapshot gallery.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article