only call complete for tasks which are not completed yet
use mail timestamp when available