Install libnet-imap-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-imap-perl
Description:
client interface to IMAP (Internet Message Access Protocol)
Net::IMAP provides a perl interface to the client portion of IMAP (Internet Message Access Protocol). . Additionally it also supports ACAP (Application Configuration Access Protocol), IMSP (Internet Message Support Protocol, superseded by ACAP) and ICAP (Internet Calendar Access Protocol).
Homepage: https://metacpan.org/release/NetxAP
Version: 0.02-9
Section: universe/perl