@Override
public BlobURI write(final UUID messageId, final Mailbox mailbox, final String profileName, final InputStream in, final Long size)
throws IOException, GeneralSecurityException
{
// get blob name
String blobName = new BlobNameBuilder().setMailbox(mailbox)
.setMessageId(messageId).setMessageSize(size).build();
InputStream in1;
Long updatedSize = size;