changing function's name to camel case
adding mailParser function