Automatic generate leave letter or sos message