cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
v-yamao-msft
Community Support
Community Support

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (23,727)