Automatic dunning

Is there any way to create dunning letter automatically based on invoice Status “overdue”