IMAP is connected correctly (I am not using a GMAIL connection) and I can send messages normally, but only the responses received from GMAIL mailboxes are being recorded in the activities of the contacts.
So far I get, if I consider a contact John, and if you send an email to him. And when he replies, you get the reply on his profile only if he replies from Gmail? It doesn’t record if the email address is not Gmail?
That’s weird and should not happen anyway! Make sure the IMAP connection you used allows all the incoming emails and doesn’t have any filter. In WPERP, there is no filter based on the email service provider.