It all comes down to what information the mail client puts in the header. You can usually see what client sent the email so, for example if you are trying to determine between a PC running Microsoft Outlook or a smartphone running its own mail client, you can usually find these clients in the headers to tell them apart.