You will not be able to fully detect the email client that your user is using.
In the E-Mail headers, some programs select a tag X-Mailerthat accurately indicates which program and version your user sends an email to - of course, it can be a fake. Not all programs use a tag X-Mailer, for example, for example. could not be found in mail sent with Microsoft Outlook 2010.
, Received from , SMTP POP3 -, GMail Yahoo. , google.com, Outlook Thunderbird, GMail.
, , , , , ? , ?