Likely from Proto-Indo-European *me. Compare Ancient Greek μετά (metá). Possibly related to स्मत् (smat).
सुमत् • (sumát)