helper function for creating multi-mime part messages for userdata #349