added import email.header
for testing base64 encoding problem