improved message sending pipeline