The M1 is a surface-mount 1A rectifier diode rated at 50V. In the 2-pin SMA package.
Sold on strips of 5pcs.