Adding min_debt as a custom parameter
Adding mail support, creating FormatMessage class