Added replied and forwarded flags to metadata (issue #260)