A contracted security guard left their gun unattended for a short time on school grounds of an elementary school, according to an email sent to families by the Twin Falls School District.