I'll upload my version. Been doing this for months and was hoping it would never reach these forums, but now that I'm not selling gold anymore...
I didn't know how to find out when posting is done before, but thanks to people contributing to this thread this has been solved as well.

I am now using tony's version as base, some elements of the tsm mod, but mostly im still using my own tsm mod, so commands in the pb profile are a little different.
note: the following macro needs to be bound to F1, just a single macro!
/click TSMAucCancelButton
/click TSMAucPostButton
What my version does exactly:
-Go to AH
-Cancel and start clicking immediately until all items are cancelled
Loop until all there are more than 3 free normal bag slots:
{-Mail loot
-Go to AH
-Post and start clicking immediately until the "posting done" message appears}
-once there are more than 3 free bag slots (means all mail has been looted and posted):
single post cycle that stops hb when done
you can easily implement a loop. for example you could let pb start gathering again for 1h and then return to the ah by hs'ing and load the first hb again. thats all subject to personal preferences, so ill only upload a version with a single cancel and a full 'mail loot/post' cycle.
the package contains my 3 modded tsm files, ace3, libstub, my pb version and the pb profile. enjoy
now the last thing missing to speed this up is a pb mod that will /reload once all 50 mails are looted instead of waiting 61s for a refresh (could be implemented into the profile as well with a loop like {while hasnewmail[while there is visible mail to loot(mailloot); /reload]}. something like that...
rename the attached file by removing the ".txt" in the end. pass is bigdicks!