Segunda pregunta, con eso ya tienes como hacer la primera.
Código PHP:
<?php
$sql="select * from _regalumnos where miprofe='".$_POST['miprofe']."'";
$result=mysql_query($sql);
if(isset($result) && mysql_num_rows($result)>=3)
{
mail($_POST['miprofe'],$asunto,$mensaje);
}
?>