adding is simple just open the file in append mode and then use fwrite:
http://www.php.net/fopen
http://www.php.net/fwrite
removing them is slightly more complicated what I would do is read the file in useing fread
http://www.php.net/fread
then use explode to create an array
http://www.php.net/expode
then I would loop through the array creating the page with the check boxes. Each email's check box would have the id eml<num> where num is the email's position in this array and a value of 1 then I would do this.
//open a temp file
for($i=0;$i<count($emails);$i++) {
$cur_id = 'eml_' . $i;
if(1 != $_POST[$cur_id)) {
//write the email to a temp file and put a | after it
} //end if
} //end for
//get rid of the last caracter in the temp file
//close the temp file
//move the temp file and overwrite the old email.x file