Added handler for sent mail