In prior work, the investigators created a text messaging curriculum that was well-received by patients for diabetes-related education and support during pregnancy. The team has now drawn upon these earlier phases to develop a mobile health behavior tool to educate and support low-income, minority pregnant women with Gestational Diabetes Mellitus and Type 2 Diabetes Mellitus. This "first-of-its-kind" mHealth platform for pregnant women with GDM or T2DM is called SweetMama. SweetMama is a theory-driven application that delivers an interactive, goal-oriented educational and motivational diabetes-focused curriculum. SweetMama currently functions as a user-friendly application in which participants are delivered curriculum messages and have the opportunity to receive novel educational, motivational, or supportive content when desired by patients.