Examine the critical function of 2-Phenylethylamine (PEA) as an intermediate in the synthesis of pharmaceuticals targeting depression and diabetes, highlighting its impact on healthcare.