Combine and let sit overnight. Bring to a boil stirring constantly, until the mangos and onions are transparent. Add water if necessary to prevent burning. Adjust flavor for hotness and tartness.
Pack hot into half pints, process 5 minutes in boiling water bath.