cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Foysoul
New Member

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
Community Support

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (6,152)