added functionality to save aliases for mailboxes

essentially copied and pasted functionality from edit-alias.php and modified it a bit to ensure that we always have a mailbox alias