Deploy/inbox revisited: bulk delete messages, better truncation logic