The T-shaped micro-junction is among the most used geometry in microfluidic applications, and many design modifications of the channel walls have been proposed to enhance mixing. In this work, we investigate through numerical simulations the introduction of one pair of small rectangular cavities in the lateral walls of the mixing channel just downstream of the confluence region. The aim is to preserve the simple geometry that has contributed to spread the practical use of the T-shaped micro-junction while suggesting a modification that should, in principle, work jointly with the vortical structures present in the mixing channel, further enhancing their efficiency in mixing without significant additional pressure drops. The performance is analyzed in the different flow regimes occurring by increasing the Reynolds number. The cavities are effective in the two highly-mixed flow regimes, viz., the steady engulfment and the periodic asymmetric regimes. This presence does not interfere with the formation of the vortical structures that promote mixing by convection in these two regimes, but it further enhances the mixing of the inlet streams in the near-wall region of the mixing channel without any additional cost, leading to better performance than the classical configuration.