The functions are
SendShowMailBox
SendShowBank
And they need a valid mailbox and banker guid to work.
You cant just feed it some player guid and expect it to work.
To make them work with player guid you need to do core edits.
By default the core prevents simply using player guid because it is not blizzlike and allowing any guid may result to cheating, like accessing bank without a banker.