rewrite mailing stuff + shift-click selection