Added local hosting in production and ignoring mail errors