try to limit memory usage in activity email