changed attachment handling by looking at the compose session_id