cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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? Smiley Very Happy

1 REPLY 1
Highlighted
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
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 75 members 4,178 guests
Please welcome our newest community members: