Prevent empty text part when only html part is assigned

Empty text part is considered bad by some spam filters, better to have no text part.

See issue #16