cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Foysoul
Level: Power Up

Count the number of mail in the inbox

I am trying to create my first simple app that only displays the number of unread items in my outlook inbox.

I created an Item that has the text 

CountRows('Outlook.com'.GetEmails({fetchOnlyUnread:true}))

It works great, except that it only counts to 10.

I can add "top: X " as an argument, where X is the number of items that it will recieve, but it can only count up to 25.

So I am currently at 25 items

Here is the API i found about outlook

Outlook getEmails

 

Does anyone know any other way to fetch the number of items in my inbox?

Or how to heighten the number 25 in any way? 😄

1 REPLY 1
Community Support Team
Community Support Team

Re: Count the number of mail in the inbox

Hi Foysoul,

 

It seems that this might be a current limitation. For when I trying to show the GetItems.Top items on a gallery control, I set the value to 50, then I get the error message says that I should specify a positive number less than 25. A screenshot looks like below:

3.PNG

 

If possible, I would suggest you create a request to expand the number of emails to retrive at PowerApps Ideas Forum:
https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,968)