public boolean Apagar(Email obj){
        try{
            PreparedStatement comando = banco.getConexao()
                    .prepareStatement("UPDATE emails SET ativo = ? WHERE id = ?");
            comando.setInt(1, 0);
            comando.setInt(2, obj.getId());
            comando.executeUpdate();
            comando.getConnection().commit();
            return true;
                    
        }catch(SQLException ex){
            ex.printStackTrace();
            return false;
        }
    
    }