fix issue in email message construction
updated samples to v1.3