Adding cost calculations when mail added to system