Skip to main content

Notifications

Community site session details
Power Apps - Building Power Apps
Answered

How to search e-mail by categories

Like (0) ShareShare
ReportReport
Posted on 14 Aug 2020 19:33:13 by 20

Hi, guys.

 

I want to search e-mails by categories with Connect of Office 365 Outlook.

I could search with text by below formula.

Office365Outlook.GetEmails({fetchOnlyUnread:true, searchQuery:"Search Word"})

 

But I can't find option for category from  below page.

https://docs.microsoft.com/en-us/connectors/office365/#get-emails-(v3)

 

How should I do? I need your help.

 

Thank you.

  • Verified answer
    RandyHayes Profile Picture
    76,287 Super User 2024 Season 1 on 19 Aug 2020 at 18:54:22
    Re: How to search e-mail by categories

    @hiro_nk 

    Good to see they have added the support for this now.

    However, keep in mind, Categories are personal preferences and not global to email.  So, if you have a "Business" category in your email, it does not mean that anyone else will.

     

  • Verified answer
    hiro_nk Profile Picture
    20 on 19 Aug 2020 at 18:46:12
    Re: How to search e-mail by categories

    I cloud realize below formula.

     

    Office365Outlook.GetEmails({fetchOnlyUnread:false, searchQuery:"Category:'my category'"})

     

    Thanks 

  • hiro_nk Profile Picture
    20 on 19 Aug 2020 at 17:49:59
    Re: How to search e-mail by categories

    @v-xida-msft@RandyHayes 

     

    Hi, thank you for your reply.

    Hm.. OK, I got it. I will find another way.

     

     

  • v-xida-msft Profile Picture
    on 17 Aug 2020 at 08:33:55
    Re: How to search e-mail by categories

    Hi @hiro_nk ,

    Do you want to search emails by Categories through the Office 365 Outlook connector?

     

    I agree with @RandyHayes 's thought almost. If you want to search emails by Categories through the Office 365 Outlook connector, I afraid that there is no way to achieve your needs.

     

    If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

     

    Regards,

  • RandyHayes Profile Picture
    76,287 Super User 2024 Season 1 on 14 Aug 2020 at 22:30:55
    Re: How to search e-mail by categories

    @hiro_nk 

    Sorry to say, you cannot search the categories.  Categories are individual preferences in email as opposed to system standards, so the connector does not support it.

    It's not included in the Microsoft Graph results, so they are not available in the connector.

     

    I don't see anyone requesting it in the Ideas Forum...you should consider putting it in the Ideas

     

    If not helpful, I at least hope this is informative for you.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 106 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 75

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 52 Super User 2025 Season 1

Overall leaderboard
Loading started
Loading started