Progress on base64 decoding

Some kind of bug with multiple attachments, 1st overrides the 2nd...