From KDE UserBase Wiki

KMail is available as a package in nearly all common distributions of Linux and other free Unix-like operating systems, and even on Windows thanks to the KDE on Windows project.

Compiling from Sources

To build KMail or Kontact from sources, consult the KDE PIM community wiki.