How to use Send Email activity from RPA.Outlook.Application library

I am trying to use the ‘Send Email’ activity to send an Outlook error message but am running into the error:

AttributeError: ‘NoneType’ object has no attribute ‘CreateItem’

I’m assuming this is some authentication error that it does not know which email to send from. I have not found anything on the Robocorp documentation page:

RPA.Outlook.Application library | Robocorp documentation

or on Microsoft’s previous releases page:

Items Object [Outlook 2007 Developer Reference] | Microsoft Learn

Here is an image of what I have built:

Settings are not visible, but are you doing Open Application there? As that library uses local installation you need to launch it before sending mails.

1 Like

Thanks for answering my stupid question!