Hi @DanielK
To get mails you need to consent Mail.ReadBasic, Mail.Read permissions. Go to modify tab and consent these permissions.
After consenting these permissions you will be able to get your mails.
Please refer to the below sample screenshot:
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.