# Direct Reply - IMAP - not picking up mail

**URL:** <https://forums.rocket.chat/t/direct-reply-imap-not-picking-up-mail/14461>\
**Category:** Community Support\
**Tags:** rocketchat-apps\
**Created:** [July 12, 2022, 1:35am UTC](https://forums.rocket.chat/t/direct-reply-imap-not-picking-up-mail/14461 "2022-07-12T01:35:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pluto](https://avatars.discourse-cdn.com/v4/letter/p/f08c70/32.png) [@pluto](https://forums.rocket.chat/u/pluto)\
**Post date:** [July 12, 2022, 1:35am UTC](https://forums.rocket.chat/t/direct-reply-imap-not-picking-up-mail/14461/1 "2022-07-12T01:35:14Z")

</div>

### Description

I can’t seem to get the ‘Direct Reply’ feature to work. Does anybody use this? Any thoughts on what I’m doing wrong?

I’m using a gmail account with an app password connecting via IMAP.

Server logs show connection and detection of messages for the gmail account.

rocketchat\_1 | \<= ‘\* OK [UIDVALIDITY 1] UIDs valid.’  
rocketchat\_1 | \<= ‘\* 5 EXISTS’  
rocketchat\_1 | \<= ‘\* 0 RECENT’  
rocketchat\_1 | \<= ‘\* OK [UIDNEXT 31] Predicted next UID.’  
rocketchat\_1 | \<= ‘\* OK [HIGHESTMODSEQ 4757]’  
rocketchat\_1 | \<= ‘A4 OK [READ-WRITE] INBOX selected. (Success)’

No messages posted into the chat channel and no messages deleted on the gmail account so it’s like the server isn’t choosing to read the messages.

### Server Setup Information

- Version of Rocket.Chat Server: 4.8.1
- Operating System: ubuntu-bionic-18.04-amd64-server-20220610
- Deployment Method: docker
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: 14.18.3
- MongoDB Version: 4.0.28
- Proxy: nginx
- Firewalls involved: none

### Any additional Information

I deployed a rocket chat instance up into AWS following this guide: [https://docs.rocket.chat/quick-start/deploying-rocket.chat/cloud-deployments/aws](https://docs.rocket.chat/quick-start/deploying-rocket.chat/cloud-deployments/aws)
