To uninstall davmail just follow these instructions.
sudo apt-get remove davmail
This will remove just the davmail package itself.
sudo apt-get remove --auto-remove davmail
This will remove the davmail package and any other dependant packages which are no longer needed.
If you also want to delete your local/config files for davmail then this will work.
sudo apt-get purge davmail
Or similarly, like this davmail
sudo apt-get purge --auto-remove davmail
|Maintainer||Alexandre Rossi <firstname.lastname@example.org>|
|Description||POP/IMAP/SMTP/CalDav/LDAP to Microsoft Exchange gateway a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway allowing users to use any mail/calendar client (e.g. Thunderbird with Lightning or Apple iCal) with an Exchange server, even from the internet or behind a firewall through Outlook Web Access. DavMail now includes an LDAP gateway to Exchange global address book and user personal contacts to allow recipient address completion in mail compose window and full calendar support with attendees free/busy display.|