How to automatically send mail to customer after package is shipped

how to automatically send mail to customer after package is shipped