By default Akonadi and Kontact (kmail) store your emails in the following locations:
For local email, it will probably be under ~/.local/share/local-mail/.
For IMAP or remote email, these will be retained within it's datastore, which can be found at ~/.local/share/akonadi/.
For other settings they would be under ~/.config.
For local email, it will probably be under ~/.local/share/local-mail/.
For IMAP or remote email, these will be retained within it's datastore, which can be found at ~/.local/share/akonadi/.
For other settings they would be under ~/.config.