How to change the account confirm email content

Would also love to be able to customize message to sent to flagged users. Anyone know how?