Regaring email id column in get mail activity

I’m trying to read emails from Outlook using get mail activity under office 365 scope, where the email id is array so I’m sending this email array into foreach row and passing the current item. Im placing this current item in email id column, but im getting errors, im using UiPath studio of 22.10.7 and o365 is 2.6.25.
Im getting below error:
Message Details
Get Mail: Code: ErrorlnvalidldMalformed Message: ld is malformed ClientRequestld: 0a406369-eb24-4b1d-b2e7-8e0835e62f29

Can some one help me asap
Note: im able to get data without using email id column, but i want to get email results based on email id provided by me in email id column

Hello

Have you moved or modified the email?

(I could be wrong) I think the ID is not fixed and changes when the folder has a new email added/removed.

Hopefully this helps.

Cheers

Steve

Hie @Krishnakanth_Mathi check the zip file hope this will help you to resolve your query
Outlook.zip (4.1 KB)
cheers Happy Automation.

1 Like

Thanks for the solution, but i need to develop this logic under office 365 scope, using microsoft.graph.api and get email activity. we should not interact with outlook desktop application

I’m unable to search with email id through get email activity, as email id will be coming from current item, i checked the mail id coming through the current item, it is giving right email id, but still in get email activity it is throwing exception

@Krishnakanth_Mathi

Can you please tell in which field are you passing this value?

Also did you try to copy one id and use it manually and check if it is able to retreive?

Cheers

![This image shows a debugging session in a UiPath automation project, indicating an email ID malformed error for a “Get Mail” activity.

(Captioned by AI)|690x344](upload://5HHJ3ebSRTwX6HeQHqVaHEia9HW.png)
If i pass the email id directly in email id column i’m getting error as attached in screenshot

@Krishnakanth_Mathi

Can you please show where you are passing and error…looks like the screenshot is not uploaded

cheers

  • Verify Login ID: Carefully review the login ID for any errors.
  • Check Format: Refer to the email service’s guidelines for the correct login ID format.
  • Parameter : pass one email id in parameter
  • Cross chcek : use different email send or receive for testing use

@Steven_McKeering your screenshot is not visible to us, please share it again