Send Email: You have not signed in with the selected account. Use the same account to log in or add a new one

Hi,

I published a process in Orchestrator for an attended process. The process is shared to the other team members that use Attended bot. In the process there is UiPath.Mail.Activities.Business.GmailApplicationCard that is attached to my personal account (during development). However, when the other team members added the process into their assistant to run the process on their machine. As usual, it would prompt the Gmail login and authentication window, but after they authenticate their Gmail account, the process throw an error:
Send Email: You have not signed in with the selected account. Use the same account to log in or add a new one.

How can I let the process be run using interactive token only?

Cheers,
Azeem

@azeem_rosli

In process you might need to select default account …looks like it is tagged to your account which is causing the issue

May be in send email you used a different account in to field

Cheers

Hie @azeem_rosli so which activity you are using to send Emails if you are using if you are using USE GMAIL activty and inside this you are using Send Email Activity
kindly set it to Default you Bot with Pick the default GMAIL id which is Associated with the Machine and if you are using SMTP Activity for sending mails i think you pass your Cred .which take your Gmail Account.

cheers

Hi Anil,

There is no Default option under the account settings.

And I’ve also set the Authentication type as Default.

I can’t modify the Email property under the Properties panel.

Btw, I’m using UiPath.Mail.Activities ver 1.24.12 and Studio ver 2024.10.8

Regards,
Azeem

@azeem_rosli

did you happen to fill the to field?

also when creating process are the remaining connections created in integration services?

cheers

I’m sorry, which field are you referring too? If you mean the field in the Properties panel, I can’t edit the field.

Plus, I’m not using Integration Service, I just need the Interactive Token for the users to log in to their account and store the token in their machine.

Regards,
Azeem

Hi @singh_sumit, which version of UiPath.Mail.Activities are you using?

Regards,
Azeem

@azeem_rosli

are you getting add gmail account pop up?

please check auth methods

cheers

I’m using the below settings:

It will pop ups a Gmail login window.

Regards,
Azeem

@azeem_rosli

just to check are you using like this only

cheers

as per the community version @azeem_rosli i have the latest one.

Yes, I’m using the reference object for the send email. The send email is working in my machine but not others.

Regards,
Azeem

I’m sorry, I mean the version of Mail activities.

Regards,
Azeem

@azeem_rosli

just to make sure no issue with dependencies try to change the mail packages version and check

alternately try to add an input argument and give the current user email as input to this field

cheers

Here the screenshot


and as per @Anil_G Statement make sure no issue with the dependencies and the mail package version

I was using the ver 1.23 of UiPath.Mail.Activities, then I’ve upgraded to the latest version of the package. Both yield the same results. Can you try from your other machine on this scenario?

I don’t think we can update that field. Can you try?

Regards,
Azeem

@azeem_rosli

please try adding variable as mentioned above in Email field

Unfortunately in our enterprise we use outlook and not gmail…we use outlook anyways in same way so can check the same for gmail

cheers

Hi Anil,

I have tried it before but I can’t edit the field. Plus, it is stated in the docs that it is Read-only property:

Regards,
Azeem

@azeem_rosli

Apologies my bad…let me check if i can add one on personal account and check

Cheers