reencrypt: Correctly store folderId from email
Otherwise we are unable to reencrypt as the folderId is null.