Zaslat záznam emailem: Boosting thermoelectric efficiency using time-dependent control