new feature: specify file for mailtext
added stumps for billingfunction