cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (7,372)