I\'m capable of building an .eml file using TIdMessage in Delphi.
.eml
TIdMessage
It has a header like this:
X-Unsent: 1 Subject: Testiing Su