Adding basic write functionality to the account class to facilitate mail imports