# Email Account/Listener - Listen on Shared Inbox

**URL:** <https://forums.pega.com/t/email-account-listener-listen-on-shared-inbox/8531>\
**Category:** User Experience\
**Tags:** customization, email, dev-designer-studio, system-administration, user-experience\
**Created:** [October 28, 2024, 6:41pm UTC](https://forums.pega.com/t/email-account-listener-listen-on-shared-inbox/8531 "2024-10-28T18:41:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![StephenZ8854](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@StephenZ8854](https://forums.pega.com/u/StephenZ8854)\
**Post date:** [October 28, 2024, 6:41pm UTC](https://forums.pega.com/t/email-account-listener-listen-on-shared-inbox/8531/1 "2024-10-28T18:41:26Z")

</div>

We have a Pega email account / email listener. It is currently listening to the default INBOX for an account. However, the account has access to multiple boxes. Using a python script with imaplib, I can easily connect to and read from another inbox using M.login(‘\<account\>\<boxname\>’,‘’). With Pega, I cannot seem to do anything similar. I’ve tried modifying user id on the email rule and also the folder name on the listener rule. Neither work. How can we achieve this?

---

<div class="post-metadata">

**Author:** ![ArulDevan](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/aruldevan/32/23602_2.png) [@ArulDevan](https://forums.pega.com/u/ArulDevan)\
**Post date:** [October 29, 2024, 2:50am UTC](https://forums.pega.com/t/email-account-listener-listen-on-shared-inbox/8531/2 "2024-10-29T02:50:15Z")

</div>

Hi @StephenZ8854: In Pega, the email listeners will be pointed to only one mailbox. Which means you can only listen to the mails from a specific mailbox. In your case, you may need to create multiple listeners (or) check if the SMTP server can forward the mails from all your shared mailbox to a common mailbox. Do consider the emails volume too.

Thanks.

---

<div class="post-metadata">

**Author:** ![StephenZ8854](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@StephenZ8854](https://forums.pega.com/u/StephenZ8854)\
**Post date:** [October 29, 2024, 3:00pm UTC](https://forums.pega.com/t/email-account-listener-listen-on-shared-inbox/8531/3 "2024-10-29T15:00:58Z")

</div>

@ArulDevan yes, that is understood. The question is how to listen to a single email box that is not the default box for the login. There does not seem to be an option to point the listener/account to a shared box.

---

<div class="post-metadata">

**Author:** ![ArulDevan](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/aruldevan/32/23602_2.png) [@ArulDevan](https://forums.pega.com/u/ArulDevan)\
**Post date:** [November 1, 2024, 9:38am UTC](https://forums.pega.com/t/email-account-listener-listen-on-shared-inbox/8531/4 "2024-11-01T09:38:00Z")

</div>

Hi @StephenZ8854: As mentioned earlier, I don’t think it is possible. Pega email listener can only be tagged to one account and can only listen to the any folders in the specific account.

Thanks.
