now generate messageid if none given