Zaslat záznam emailem: Optimal Rate Allocation in Cluster-Tree WSNs