add the function of send a confirmation letter