UiPath-ADAv1 Excel and Email Automation Practice Question
Which TWO of the following are true regarding the use of 'Get Outlook Mail Messages' in a production environment?
⚠ Common exam trap
Candidates often choose 'OnlyUnreadMessages' but forget the 'Top' property, or assume that 'Top' is unnecessary, leading to either infinite loops or performance bottlenecks when processing thousands of historical emails.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The 'OnlyUnreadMessages' property should be used to prevent duplicate processing.
Production email automation requires careful handling of email volumes and API limits. By default, the activity retrieves the top 30 messages, which can be insufficient or cause performance issues if not tuned. Additionally, managing the 'OnlyUnreadMessages' property is critical for ensuring that emails are not processed multiple times, which is a common source of duplication errors in automated customer service or finance workflows.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
It is best practice to leave the 'Top' property empty to retrieve all emails.
Why it's wrong here
Leaving the 'Top' property empty can cause the activity to try and retrieve thousands of emails at once, which leads to timeouts and severe memory consumption. Always specify a reasonable limit (e.g., 50-100) to ensure the bot remains performant and does not crash due to memory exhaustion.
- ✓
The 'OnlyUnreadMessages' property should be used to prevent duplicate processing.
Why this is correct
Using the 'OnlyUnreadMessages' flag is the most reliable way to ensure the robot only picks up new items. Once processed, the robot can mark the email as 'read' or move it, preventing the same email from being picked up in the next execution cycle, which is essential for accuracy.
- ✗
The activity works independently of the Outlook application being open.
Why it's wrong here
The 'Get Outlook Mail Messages' activity requires the Outlook application to be installed and properly configured on the machine. It communicates via the Outlook COM API, meaning Outlook must be running or be able to initialize its background processes for the activity to successfully access the mailbox.
- ✓
The 'Top' property should be set to a reasonable number to avoid performance issues.
Why this is correct
Limiting the number of messages retrieved per execution is a critical performance optimization. It ensures the robot processes manageable batches, prevents memory overflow, and keeps the execution time predictable, which is vital for maintaining service level agreements (SLAs) in enterprise-grade automated processes.
- ✗
You must use an 'SMTP' activity to retrieve emails from the server.
Why it's wrong here
SMTP (Simple Mail Transfer Protocol) is strictly for *sending* emails. It cannot be used to retrieve or read messages from a mailbox. For retrieval, you must use activities like 'Get Outlook Mail Messages' or 'Get IMAP Mail Messages', depending on the environment and the mail provider's protocols.
About these practice questions
Courseiva writes every UiPath-ADAv1 question from scratch — 285 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official UiPath exam blueprint
This UiPath-ADAv1 practice question is part of Courseiva's free UiPath certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the UiPath-ADAv1 exam.